Computer Science
Given a list L= [10, 20, 30, 40, 50, 60, 70], what would L[2 : -2] return?
- [10, 20, 30, 40]
- [20, 30, 40, 50]
- [20, 30, 40]
- [30, 40, 50]
Python List Manipulation
25 Likes
Answer
[30, 40, 50]
Answered By
8 Likes
25 Likes
[30, 40, 50]
Answered By
8 Likes