Note that the output was not Hatter, as you might have guessed. This is because in Python, indexing begins with 0, not 1. This property is called 0-based numbering, and it's shared by many programming languages.
Phyton 3. Списки. Массивы.
You can easily change existing list items by reassigning them. Try running the following:
tea_party[1] = 'Cheshire Cat'
print(tea_party)
This code should output the list with "Hatter" replaced by "Cheshire Cat":