diff --git a/Chapter_07/7-02_restaurant_seating.py b/Chapter_07/7-02_restaurant_seating.py new file mode 100644 index 0000000..8c0867b --- /dev/null +++ b/Chapter_07/7-02_restaurant_seating.py @@ -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!") \ No newline at end of file