11 2018 档案

内置函数-max、min、round、sorted、ord、chr、any、all、dir、eval、exec、map、filter、reduce
摘要:http://www.nnzhp.cn/archives/152 1、max,min,round 1 print(max([3,4.563,3,6,2.5])) #取最大值,可循环参数即可,int类型的,字符串类型不行 2 print(min(9,4,7,1,0)) #取最小值 3 print(ro 阅读全文

posted @ 2018-11-09 21:44 羽竹 阅读(451) 评论(0) 推荐(0)