摘要: Python常用语句 一、判断语句 1、判断语句 2、if 语句 #演示选择结构 #绿灯表示可以通行、红灯表示不能通行、黄灯表示减速 color="red" if(color=="green"): print("通行") if(color=="red"): print("不能通行") if(colo 阅读全文
posted @ 2022-01-18 09:15 DoYouWantMore 阅读(622) 评论(0) 推荐(0) 编辑