KnowledgeBoat Logo

Computer Science

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

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

Python List Manipulation

30 Likes

Answer

[20, 30, 40]

Answered By

9 Likes


Related Questions