結果 : python for loop in one line with if