# Creating a tuple to create alist that cannot be modified
foods = ('mutton curry', 'beef stroganov', 'greek salad', 'gourmet chicken soup', 'steak carbonara')
print('\nThis is the menu:')
for item in foods: print(f'\t{item.title()}')

#Deliberately producing an Error 
#foods[1] = 'bread sticks' # (TypeError: 'tuple' object does not support item assignment)

# Creating a new tuple to create a revised list
foods_update = ('mutton curry', 'greek salad', 'steak carbonara', 'bread sticks', 'italian pasta')
print('\nThis is the revised menu:')
for item in foods_update: print(f'\t{item.title()}')
0282f67efbd3f12c5716f455aa83ccc84b65846a
<mask token>

<mask token>
print("""
This is the menu:""")
for item in foods:
    print(f'\t{item.title()}')
<mask token>
print("""
This is the revised menu:""")
for item in foods_update:
    print(f'\t{item.title()}')

foods = ('mutton curry', 'beef stroganov', 'greek salad',
    'gourmet chicken soup', 'steak carbonara')
print("""
This is the menu:""")
for item in foods:
    print(f'\t{item.title()}')
foods_update = ('mutton curry', 'greek salad', 'steak carbonara',
    'bread sticks', 'italian pasta')
print("""
This is the revised menu:""")
for item in foods_update:
    print(f'\t{item.title()}')

# Creating a tuple to create alist that cannot be modified
foods = ('mutton curry', 'beef stroganov', 'greek salad', 'gourmet chicken soup', 'steak carbonara')
print('\nThis is the menu:')
for item in foods: print(f'\t{item.title()}')

#Deliberately producing an Error 
#foods[1] = 'bread sticks' # (TypeError: 'tuple' object does not support item assignment)

# Creating a new tuple to create a revised list
foods_update = ('mutton curry', 'greek salad', 'steak carbonara', 'bread sticks', 'italian pasta')
print('\nThis is the revised menu:')
for item in foods_update: print(f'\t{item.title()}')