結果 : how to do inline if statement in python