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