although you can' modify tupleyou can assign new value to variable that holds tuple so if we wanted to change our dimensionswe could redefine the entire tupleu dimensions ( print("original dimensions:"for dimension in dimensionsprint(dimensionv dimensions ( print("\nmodified dimensions:"for dimension in dimensionsprint(dimensionthe block at defines the original tuple and prints the initial dimensions at vwe store new tuple in the variable dimensions we then print the new dimensions at python doesn' raise any errors this timebecause overwriting variable is validoriginal dimensions modified dimensions when compared with liststuples are simple data structures use them when you want to store set of values that should not be changed throughout the life of program try it yourse lf - buffeta buffet-style restaurant offers only five basic foods think of five simple foodsand store them in tuple use for loop to print each food the restaurant offers try to modify one of the itemsand make sure that python rejects the change the restaurant changes its menureplacing two of the items with different foods add block of code that rewrites the tupleand then use for loop to print each of the items on the revised menu working with lists