Completed Exercise 7-2 Restaurant Seating

This commit is contained in:
cheeks 2025-02-03 14:06:20 -05:00
parent 24f4df0991
commit da38d97cf8

View File

@ -0,0 +1,9 @@
# Exercise 7-2 Restaurant Seating
# Learning Objective: Asking for input & utilize an if statement for response.
party = input("How many people are in your party? \n")
if int(party) > 8:
print("Sorry, there's currently a wait list for that many people. \nPlease wait..")
else:
print("Your table is ready!")