結果 : single line for loop with if python