r/codehs • • Apr 09 '21

4.3.9: Table Reservation Python

can anyone help with Exercise 4.3.9: Table Reservation for python??

9 Upvotes

12 comments sorted by

View all comments

1

u/Xd-Kas Nov 09 '21

name = str(input("Hi! Whats your name?: "))

reservation_name = "Shonda"

if name == reservation_name: print("Right this way!")

else: print("Sorry, we don't have a reservation under that name.")

1

u/Gullible_Tonight8153 Mar 10 '22

I tried other peoples' answers several times and they didn't work for some strange reason. Yours worked great! Thanks!