結果 : for loop if else one line python