1. Home
  2. All MCQs

All MCQs with Answers · Page 752

45,334 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.

Newest first

What is the output of print(list({'a': 1, 'b': 2}.items())) in Python?

print(list({'a': 1, 'b': 2}.items()))
  1. ['a', 'b']
  2. [('a', 1), ('b', 2)] Correct answer
  3. [1, 2]
  4. {'a': 1}
MCQSEXAM Read explanation