Source Code:
(back to article)
# Converting tuple into a list t = list(t) # Updating the list t[2] = 6 # Converting list back into a tuple t = tuple(t) print(t)
Result:
Report an issue