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

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
asked May 16, 2020 in Python by AdilsonLima
0 votes
asked May 17, 2019 in Python by Derya
0 votes
asked Jul 10, 2020 in Python by GeorgeBell
0 votes
asked Jun 30, 2020 in Python by GeorgeBell
+1 vote
asked Jul 16, 2020 in Python by GeorgeBell
...