0 votes
445 views
in Python by (117 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
1.2k views
0 votes
932 views
0 votes
2.5k views
asked May 15, 2019 in Python by Derya (117 points)
0 votes
127 views
asked May 17, 2019 in Python by Derya (117 points)
0 votes
2.2k views
asked May 17, 2019 in Python by Derya (117 points)
0 votes
564 views
0 votes
15 views
0 votes
362 views
asked May 15, 2019 in Python by Derya (117 points)
0 votes
83 views
...