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