QuestionQ96Verified/Data Collections – Tuples, Dictionaries, Lists, and StringsCopy linkReport a problemAsk AstroTutorSave questionWhat is the expected result printed by the following code? A0B1CFalseDTrueShow AnswerAnswerExplanationIn Python, comma-separated values form a tuple even without parentheses. Both variables therefore contain the identical tuple ('a', 'b'), and equality comparison evaluates to True.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion