Examveda

What will be the output of the following Python code?
>>>t=(1,2,4,3)
>>>t[1:3]

A. (1, 2)

B. (1, 2, 4)

C. (2, 4)

D. (2, 4, 3)

Answer: Option C


This Question Belongs to Python Program >> Tuples In Python

Join The Discussion

Related Questions on Tuples in Python