0
Does (max) work for other types other than ints?
print(max(âSololearnâ)) Results in ârâ which quite frankly I donât understand at all... Thank yâall!
1 RĂ©ponse
+ 3
It evaluates each character as it's corresponding Ascii code. So "a" is 97, etc. and in this case "r" has the largest Ascii code.
Have a look:
https://www.ascii-code.com/