Question #840

Which one will not throw an exception?

Given a string of length one, ord() returns an integer representing the Unicode code point of the character when the argument is a unicode object, or the value of the byte when the argument is an 8-bit string. In the options above, only the space character is recognized by ord() , the others will fail. (geeksforgeeks.org/ord-function-python)


Comment on Disqus:

Comment on Twitter:

Question difficulty: šŸ”µšŸ”µšŸ”µšŸ”µšŸ”µ