I cant understand this Output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I cant understand this Output

print("abc">"Abc") print("Abc">"abc") Output True False

17th Aug 2020, 3:38 PM
Nobleguy
Nobleguy - avatar
2 Answers
+ 2
Sorry, I was not familier with ascii number
18th Aug 2020, 4:59 AM
Nobleguy
Nobleguy - avatar
+ 1
the ascii character a has a bigger value than A if you convert it to decimal.
17th Aug 2020, 3:43 PM
Dragonxiv
Dragonxiv - avatar