1.

Which statements will result in slice of tuple?

Answer»

Which STATEMENTS will result in slice of tuple?
Choose the CORRECT OPTION from below list
(1)a_tuple[0] =[5] a_tuple[::2]
(2)a_tuple[::2] a_tuple[:]
(3)a_tuple[:] a_tuple[::-1]
(4)a_tuple[::-1] a_tuple[0] =[5]

ANSWER:-(2)a_tuple[::2] a_tuple[:]



Discussion

No Comment Found