from a tuple by calling the tuple.
numbers = [1, 2, 3]
b. What value is stored in numbers[0]?
c. What value is stored in numbers[-1]?
3. What will the following code display?
values = [2, 4, 6, 8, 10]
print(values[1:3])
4. What does the following code display?
numbers = [1, 2, 3, 4, 5, 6, 7]
print(numbers[5:])
5. What does the following code display?
numbers = [1, 2, 3, 4, 5, 6, 7, 8]
print(numbers[-4:])
6. What does the following code display?
values = [2]5
print(values)