内置函数-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
浙公网安备 33010602011771号