7-1 汽车租赁
# 汽车租赁
car = input("What kind of car do you want to rent? ")
print("Let me see if I can find you a " + car.title())
7-2 餐馆订位
# 餐馆订位
people = int(input("How many people will come to eat? "))
if people > 8:
print("There are no empty tables.")
elif people > 0:
print("We have empty tables.")
7-3 10的整数倍
# 10的整数倍
number = int(input("Please enter a number: "))
if number % 10 == 0:
print("It's an intergral multiple of ten.")
else:
print("It's not an intergral multiple of ten.")