python自带函数——取得最大数,最小值 max min
提问人:杨紫红发布时间:2020-11-18
>>> numbers = [5, 4, 10, 30, 22]
>>> print(max(numbers))
30
>>> strings = 's,t,r,i,n,g,S,T,R,I,N,G'
>>> print(max(strings))
t
继续查找其他问题的答案?
相关视频回答
回复(0)
>>> numbers = [5, 4, 10, 30, 22]
>>> print(max(numbers))
30
>>> strings = 's,t,r,i,n,g,S,T,R,I,N,G'
>>> print(max(strings))
t
点击加载更多评论>>