python的一些小技巧 日志 2021年2月22日 小桔灯 留下评论 if语句的另外一种写法: is_correct_string = 'Yes' if output == correct_output else 'No'