before we going to see the example i need to ask you why you want to update tuple ? as you khnow, the tuples cannot be changed unlike lists so if you want to chnage items of tuple, you should use list. however let's see an example


to update the tuple we need to follow these steps :

convert tuple to list => update => convert list to tuple

animals = ('cat', 'dog', 'zebra', 'shark')

#convert tuple to list
animals = list(animals)

#change the first item in the list
animals[0] = "canari"

#return list to tuple
animals = tuple(animals)

#print tuple


('canari', 'dog', 'zebra', 'shark')

English today is not an art to be mastered it's just a tool to use to get a result