摘要: 一、常量常量指固定不变的量,python一般用纯大写字母定义常量。二、基本运算符补充1、算术运算 print(10/3) print(10//3) print(10*3) 2、赋值运算符 增量赋值: age=18 age+=1 #age=age+1 print(age) age=18 age/=3 #age=age/3 print(age) age**=2 #age=age... 阅读全文
posted @ 2018-11-20 16:09 shengkengliu 阅读(165) 评论(0) 推荐(0) 编辑