結果 : how to use if in for loop python