1. Home
  2. MCQs by exam
  3. Python Interview Lists

Python Interview Lists MCQs · Page 2

28 multiple choice questions typical of the Python Interview Lists exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 26–28 of 28

What is the output of print(sorted([2, 3, 1], reverse=True)) in Python?

print(sorted([2, 3, 1], reverse=True))
  1. [1, 2, 3]
  2. [2, 3, 1]
  3. None
  4. [3, 2, 1] Correct answer
MCQSEXAM Read explanation