結果 : how to write if statement in single line in python