What does the ord() function return in Python?
Correct answer
B. The Unicode code point of a character
8 views
B. The Unicode code point of a character
8 views
ord('A') returns 65.
Asked in: Python Interview Strings
https://docs.python.org/3/library/stdtypes.html#string-methodsNot sure why the answer is B? Ask here and get an explanation.