CBSE Class 11 Computer Science Question 19 of 104

List Manipulation — Question 7

Back to all questions
7
Question

Question 7

Given a list L= [10, 20, 30, 40, 50, 60, 70], what would L[2 : -2] return?

  1. [10, 20, 30, 40]
  2. [20, 30, 40, 50]
  3. [20, 30, 40]
  4. [30, 40, 50] ✓
Answer