+ 8
On the basis of which thing does it print max and min of list.
3 Respuestas
+ 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.
+ 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
+ 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??