Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], which of the following is correct syntax for slicing operation?
a) print(list1[0])
b) print(list1[:2])
c) print(list1[:-2])
d) all of the mentioned
a) print(list1[0])
b) print(list1[:2])
c) print(list1[:-2])
d) all of the mentioned