QuestionQ13Verified/Miscellaneous (List Comprehensions, Lambdas, Closures, I/O)Copy linkReport a problemAsk AstroTutorSave questionWhich of these expressions evaluate to True?Choose twoA'in not' in 'not'B'a' not in 'ABC'.lower()C'not' not in 'in'D't'.upper() in 'Thames'Show AnswerAnswerExplanationPython string membership tests are case-sensitive and determine whether one string occurs as a substring of another. 'not' not in 'in' is true because 'not' does not occur in 'in'. Also, 't'.upper() produces 'T', and 'T' occurs in 'Thames'.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion