Blog

What is the output of the code below?

list = [9, 10, 17, 11, 2, 1]
List[-2:-1]