0 votes
in Python by
edited by
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
asked Jul 2, 2020 in Python by GeorgeBell
0 votes
asked May 17, 2019 in Python by Derya
...