What will be the output of the following code snippet?
example = ["Sunday", "Monday", "Tuesday", "Wednesday"];
print(example[-3:-1])
1
['Monday', 'Tuesday']
2
['Sunday', 'Monday']
3
['Tuesday' , 'Wednesday']
4
['Wednesday' , 'Monday']
What will be the output of the following code snippet?
example = ["Sunday", "Monday", "Tuesday", "Wednesday"];
print(example[-3:-1])
['Monday', 'Tuesday']