python自帶函數(shù)——取得最大數(shù),最小值 max min
提問(wèn)人:楊紫紅發(fā)布時(shí)間: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
繼續(xù)查找其他問(wèn)題的答案?
相關(guān)視頻回答
>>> 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
點(diǎn)擊加載更多評(píng)論>>