CBSE Class 11 Computer Science Question 20 of 104

List Manipulation — Question 8

Back to all questions
8
Question

Question 8

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

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