I cant understand this Output | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuestas
+ 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