Categories

May 17, 2019 in Python
Q: Which statements will result in slice of tuple?

1)a_tuple[::-1] a_tuple[0] =[5]

2)a_tuple[:] a_tuple[::-1]

3)a_tuple[::2] a_tuple[:]

4)a_tuple[0] =[5] a_tuple[::2]

1 Answer

Feb 25

a_tuple[::2] a_tuple[:] and a_tuple[:] a_tuple[::-1]

Click here to read more about Python
Click here to read more about Insurance

Related questions

Madanswer
May 16 in Python
May 17, 2019 in Python
Jul 10 in Python
...