in Python by (515 points)
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 (3 points)

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

Related questions

0 votes
asked Jul 10, 2020 in Python by GeorgeBell (5.2k points)
0 votes
asked May 17, 2019 in Python by Derya (515 points)
+1 vote
asked Jul 16, 2020 in Python by GeorgeBell (5.2k points)
...