Q. What will be the output of the following code snippet?
Code:
example = ["Sunday", "Monday", "Tuesday", "Wednesday"]; print(example[-3:-1])
β
Correct Answer: (A)
['Monday', 'Tuesday']
example = ["Sunday", "Monday", "Tuesday", "Wednesday"]; print(example[-3:-1])
You must be Logged in to update hint/solution