Examveda

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

A. [2, 33, 222, 14]

B. Error

C. 25

D. [25, 14, 222, 33, 2]

Answer: Option A


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python