CBSE Class 11 Computer Science Question 24 of 104

List Manipulation — Question 12

Back to all questions
12
Question

Question 12

What is printed by the Python code?
    print(list(range(3)))

  1. [0, 1, 2, 3]
  2. [1, 2, 3]
  3. [0, 1, 2] ✓
  4. 0, 1, 2
Answer