1. 首页
  2. 数据库
  3. 其它
  4. Python基础(十三)—比较运算符

Python基础(十三)—比较运算符

上传者: 2021-02-01 12:51:54上传 PDF文件 22.23KB 热度 14次
比较运算符: >、=、<= 等等均为比较运算符 e.g.1 if temperature is greater than 30 it’s a hot day otherwise if it’s less than 10 it’s a cold day otherwise its neither hot nor cold Solution: temperature = 25 if temperature > 30: print(it's a hot day) elif temperature <
下载地址
用户评论