1. Home
  2. Subjects
  3. Data Science
  4. Python

Python MCQs · Page 8

595 multiple choice questions with answers in Data Science.

Showing 176–200 of 595

What is the output of print(sorted({'a': 3, 'b': 1, 'c': 2}.values())) in Python?

print(sorted({'a': 3, 'b': 1, 'c': 2}.values()))
  1. [3, 2, 1]
  2. [1, 3, 2]
  3. [1, 2, 3] Correct answer
  4. Error
MCQSEXAM Read explanation