摘要: Python if条件语句 Python条件语句是通过一条或多条语句的执行结果(True或者False)来决定执行的代码块。 if ...else 结构 if(表达式): 语句1else: 语句2 实例: #!/usr/bin/pythonage = 19if age >= 18: print("y 阅读全文
posted @ 2018-04-05 10:31 Future_road 阅读(420) 评论(0) 推荐(0)