Suppose list1 is [1, 3, 2, 4, 5, 2, 1, 0], Which of the following is c

Loading

โœช Choose the correct option.

Suppose list1 is [1, 3, 2, 4, 5, 2, 1, 0], Which of the following is correct?

A. print(list1[0])
B. print(list1[:2])
C. print(list1[:-2])
D. print(list1[4:6])

Leave a Comment