#7-1
car=input('what car do you want? ')
print('Let me see if I can find you a '+car)
#7-2
num_of_people=input('how many peoples are going to dinner? ')
if int(num_of_people)>8:
print('Sorry,have no seat.')
else:
print('Have a seat.')
#7-3
number=input('Enter a number: ')
if int(number)%10==0:
print('yes')
else:
print('no')
#7-4
a=[]
active=True
while active:
b=input("Please tell us,what you want: \nEnter'quit' to end.")
if b!='quit':
a.append(b)
print("\nWe will provide :"+" ".join(a)+" ,Is there anything else you need?")
else:
active=False
#7-5
a=True
while a:
age=input('How old are you? ')
if int(age)<3:
print('Free')
elif int(age)<=12:
print('$10')
else:
print('$15')
#7-8
sandwich_orders=['a','b','c','d']
finished_sandwiches=[]
while sandwich_orders:
x=sandwich_orders.pop()
finished_sandwiches.append(x)
print("I made your "+x+" sandwich.")
print(finished_sandwiches)
#7-9
sandwich_orders=['a','b','c','d','e','e','e']
finished_sandwiches=[]
print("Sorry,have no pastrami")
while 'e' in sandwich_orders:
sandwich_orders.remove('e')
while sandwich_orders:
x=sandwich_orders.pop()
finished_sandwiches.append(x)
print("I made your "+x+" sandwich.")
print(finished_sandwiches)