I am learning about logical operators in Python. Why does the above expression evaluates to True.
Asked
Active
Viewed 67 times
1 Answers
2
Because each Unicode character is associated with a code point value:
ord('a')
is 97
and
ord('A')
is 65
See Unicode HOWTO and ord()

sentence
- 8,213
- 4
- 31
- 40