結果 : one line for loop with if statement python