格式:res = 值1 if 条件 else 值2
python的三元运算
猜你喜欢
转载自blog.csdn.net/harry5508/article/details/83069297
今日推荐
周排行