Is it true that the small letters are greater than capital letter.....in python.. Which means a>A | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it true that the small letters are greater than capital letter.....in python.. Which means a>A

5th Dec 2018, 8:41 AM
Uma
Uma - avatar
2 Answers
+ 5
Yes because of their ASCII values. In ASCII, 'a' = 97 while 'A' = 65. This also applies in other programming languages not just python. http://www.asciitable.com/mobile/ Check this out: https://code.sololearn.com/cYpwNADnV3mi/?ref=app
5th Dec 2018, 9:00 AM
Lambda_Driver
Lambda_Driver - avatar
0
Thanks lambda well explained......
5th Dec 2018, 11:34 AM
Uma
Uma - avatar