結果 : if else statement in for loop python