結果 : inline for loop if else python