0
How to compare â6â with something likeâ@â?
When we compare a string that contains numbers or capitalization or special syntax, what would the Boolean value be?
2 Answers
+ 6
Python, right?
If the string is exactly equal: True. Otherwise False.
+ 2
ord('6') = 54
ord('@') = 64
so '6' < '@'