結果 : use if statement in for loop python