QuestionQ95Verified/Miscellaneous (List Comprehensions, Lambdas, Closures, I/O)Copy linkReport a problemAsk AstroTutorSave questionWhich of the following expressions evaluate to True?Choose twoA'1' + '1' + '1' < '1' * 3'B121 + 1 != '1' + 2 * '2'C'AbC'.lower() < 'AB'D'3.14' != str(3.1415)Show AnswerAnswerExplanation121 + 1 evaluates to the integer 122, whereas '1' + 2 * '2' evaluates to the string '122'; an integer and a string are not equal. Also, str(3.1415) produces '3.1415', which is different from '3.14'.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion