結果 : in line for loop with if statement python