"""
1. 3
2. 2
3. 1
4. 2
5. 1 and 5
6. 4
7. Error
8. 0
9. [3, 1, 4, 1, 5, 9, 2, 6, 5, 3]
"""


numbers = [3, 1, 4, 1, 5, 9, 2]

numbers[0] = "ten"

numbers[-1] = "1"

print(numbers[2:])

print(9 in numbers)