Python 3基础教程8-if else语句

来源:互联网 发布:ip与mac绑定有什么缺点 编辑:程序博客网 时间:2024/05/18 01:24

本文介绍if else语句,不多说,直接看例子。

# 这里介绍 if else语句x = 5y = 8if x > y:    print('x is greater than y')else:    print('x is not greater than y')


0 0
原创粉丝点击