QuestionQ120

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

Which of these expressions evaluate to True?

Choose two
Explanation

For strings, in tests whether the left-hand string is a substring of the right-hand string. A string contains itself, and 't'.upper() produces 'T', which is present in 'Thames'.

Community Discussion

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