demo_array3.py:
cars = ["Ford", "Volvo", "BMW"] cars[0] = "Toyota" print(cars)
➜ begtut>python demo_array3.py
['Toyota', 'Volvo', 'BMW']