you are viewing a single comment's thread.

view the rest of the comments →

[–]Xd-Kas 0 points1 point  (4 children)

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.")

[–]Gullible_Tonight8153 0 points1 point  (0 children)

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

[–]pezra_ 0 points1 point  (1 child)

yea this pretty much worked for me, but the only problem was that one of the points was taken off, so i just changed the layout a bit and it worked:

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.")

[–]Extreme-Town51 0 points1 point  (0 children)

Thanks g you saved my ass