摘要: 首先注明:如果没有特别说明,以下内容都是基于python 3.4的。 1. /是精确除法,//是向下取整除法,%是求模 2. %求模是基于向下取整除法规则的 3. 四舍五入取整round, 向零取整int, 向下和向上取整函数math.floor, math.ceil 4. //和math.floo 阅读全文
posted @ 2018-03-15 11:11 wangju003 阅读(557) 评论(0) 推荐(0)