Programming (12th Grade)
Slicing
What will the following code snippet print? x = [1, 2, 3]; print(x[1:])
[1, 2]
[2, 3]
[1, 2, 3]
[1]
Next