From da38d97cf83a78a8a11690fd12a96bcd2c9daa5c Mon Sep 17 00:00:00 2001 From: cheeks <134818917+leftovertoast@users.noreply.github.com> Date: Mon, 3 Feb 2025 14:06:20 -0500 Subject: [PATCH] Completed Exercise 7-2 Restaurant Seating --- Chapter_07/7-02_restaurant_seating.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Chapter_07/7-02_restaurant_seating.py 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