QuestionQ114

VerifiedMiscellaneous (List Comprehensions, Lambdas, Closures, I/O)

Which of these expressions evaluate to True?

Choose two
Explanation

len("''") is 2 because the string contains two single-quote characters. chr(ord('z') - 1) evaluates to 'y', since decrementing the code point for 'z' produces the code point for 'y'.

Community Discussion

No comments yet. Be the first to start the discussion!