in Python by
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

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

Related questions

0 votes
asked May 16, 2020 in Python by AdilsonLima
0 votes
asked May 17, 2019 in Python by Derya