QuestionQ114Verified/Miscellaneous (List Comprehensions, Lambdas, Closures, I/O)Copy linkReport a problemAsk AstroTutorSave questionWhich of these expressions evaluate to True?Choose twoAord("0") - ord("9") == 10Blen("''") == 2Cchr(ord('z') - 1) == 'y'Dlen(''1234'') == 4Show AnswerAnswerExplanationlen("''") 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'.Show comments2Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion