+ 8

On the basis of which thing does it print max and min of list.

https://code.sololearn.com/c84CL6bkiHfI/?ref=app

20th Jun 2020, 3:54 PM
Arctic Fox
Arctic Fox - avatar
3 Answers
+ 4
No practical point of learning that, just remember how the order is resolved - first special characters, then capital letters, then digits, then lower letters.
20th Jun 2020, 4:33 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 3
The max and min, like lower vs greater for strings is resolved based on the particular character's position in the ASCII table. This is why 'a' < 'f', as 97 < 102. And so min(('A', '5', 'm')) is '5'. Because 53 is lower than 67 and 109. https://code.sololearn.com/cGh63mKrL4iT/?ref=app
20th Jun 2020, 4:04 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 3
Thanks Kuba SiekierzyƄski sir but Is there any need to learn this and if I increased the values of it,it keeps increasing,how many are there??
20th Jun 2020, 4:18 PM
Arctic Fox
Arctic Fox - avatar