Chapter 7: Problem 9
What will the following code display? numbers = [1, 2, 3, 4, 5] my_list = numbers[1:3] print(my_list)
Short Answer
Expert verified
```python
numbers = [1, 2, 3, 4, 5]
my_list = numbers[1:3]
print(my_list)
```
Answer: The output will be [2, 3].