結果 : for loop with if else in python