demo_tuple2.py:
thistuple = ("apple", "banana", "cherry") thistuple[1] = "blackcurrant" # the value is still the same: print(thistuple)
➜ begtut>python demo_tuple2.py
('apple', 'banana', 'cherry')