If you're seeing this message, it means we're having trouble loading external resources on our website.
If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.
To log in and use all the features of Khan Academy, please enable JavaScript in your browser.
answer = input("Hi, how can I help you?") if answer == "reservations": num_people = int(input("How many people?")) if num_people >= 8: print("Sorry. That exceeds our party limit.")
Reservation booked.
8
reservations
answer = input("Hi, how can I help you?") if answer == "reservations": num_people = int(input("How many people?")) if num_people >= 8: print("Sorry. That exceeds our party limit.") print("Reservation booked.")
answer = input("Hi, how can I help you?") if answer == "reservations": num_people = int(input("How many people?")) if num_people >= 8: print("Sorry. That exceeds our party limit.") else: print("Reservation booked.")