modifying tuples in python code example Example: update value in tuple python x = ("apple", "banana", "cherry") y = list(x) y[1] = "kiwi" x = tuple(y)