結果 : for loop if statement one line python