如何轻松找到给定数字列表中的最大数字?
See also How do I find the maximum (larger, greater) of 2 numbers? - in that special case, the two values can also be compared directly.
关于什么max()
highest = max(1, 2, 3) # or max([1, 2, 3]) for lists
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)