I am learning about logical operators in Python. Why does the above expression evaluates to True.
Asked
Active
Viewed 58 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
- 7,017
- 4
- 29
- 36