May 15, 2019 in Python
Q: While using slicing in lists, list[0 2] is equivalent to ______.

Select the best answerr from below options :

(1)list[:-2]

(2)list[0:3] -1

(3)list[-2:0]

(4)list[:2]

Related questions

0 votes
May 16, 2020 in Python
0 votes
Jun 30, 2020 in Python
...