結果 : python iterate through list if statement