結果 : if else condition in for loop python