0
Print('z'>'a') #output True. How and why?? Please explain
Print('z'>'a') #output True. How and why?? Please explain
2 ответов
+ 10
ASCII value of a is 97 and z is 122
So 122 > 97. Then 'z' > 'a' returns true
+ 9
Naseem Ullah You need to learn thishttp://sticksandstones.kstrom.com/appen.html 🙂and Me also😅
From this you can understand in a better way how the output comed true,
btw all known that z is greater than a
that's why the result will comes true....
but in electronical world all alphabets has been given a value that's machines can understand...
as aboveツSampriyaツ written in correct manner...