+ 2
Why print('jubaer' > 'Jubaer') is True?
jubaer and Jubaer they both are same word except the first letter j. It is in lower case in the first word and Upper case in the second word. How python defined one is bigger than other in values?
3 ответов
+ 4
Lowercase characters have a larger ASCII code value.
+ 2
Thank you