Vidyalelo
Python · Q99

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 99

Q99

Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?

A.
[2, 33, 222, 14]
Answer
B.
Error
C.
25
D.
[25, 14, 222, 33, 2]

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board