2019年3月21日

Day 04 if判断,while循环,for循环

摘要: if判断语法一:if 条件: # 条件成立时执行的子代码块 代码1 代码2 代码3示例:sex='female'age=18is_beautiful=Trueif sex == 'female' and age > 16 and age < 20 and is_beautiful: print('开 阅读全文

posted @ 2019-03-21 15:00 ZY_LO 阅读(139) 评论(0) 推荐(0) 编辑

导航