0

print('Q' < 'q')....True?

Is this because of ASCII values like that!

7th Aug 2018, 4:31 AM
chakri
chakri - avatar
2 Réponses
+ 1
i don't think that this would be the correct reason because both have different ascii value
7th Aug 2018, 5:19 AM
PRAMOD JANA
PRAMOD JANA - avatar
0
i think it is because you are using character data type and it is not using lexicographically comparison that's why may be so happening
7th Aug 2018, 5:20 AM
PRAMOD JANA
PRAMOD JANA - avatar