Match slices

Report a typo

Match the code with the results of slicing when

my_list = [3, 9, 27, 81, 243, 729, 2187]

Match the items from left and right columns
my_list[-1:]
my_list[:]
my_list[2:-1:-3]
my_list[2:0:-3]
my_list[7]
[]
[2187]
[27]
[3, 9, 27, 81, 243, 729, 2187]
IndexError
___

Create a free account to access the full topic