7-2

number=int(input("How many people will have a meal?:"))
if number>8:
print("There is no empty table for so many people.")
else:
print("There is an empty table.")
7-5/6
flag=True
while(flag):
age=input("Please input the age or 'quit' :")
if age=='quit':
print("Quited")
break
else:
age=int(age)
if age<3:
print("The ticket is free.")
elif age>=3 or age<12:
print("The ticket is $10.")
elif age>=12:
print("The ticket is $12.")
7-8
sandwich_orders=["A","B","C"]
finished_sandwiches=[]
while sandwich_orders:
print("I made you sandwich:"+sandwich_orders[0])
finished_sandwiches.append(sandwich_orders[0])
del sandwich_orders[0]
print(finished_sandwiches)
