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

0 votes
Feb 25, 2020

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

0 votes
May 16, 2020 in Python
...