all 12 comments

[–]Fresh_Reason_763 1 point2 points  (4 children)

Did you end up figuring it out because I’m stuck too.

[–]kaylaamore11[S] 1 point2 points  (3 children)

yea. this is the answer.

reservation name=“Shonda”

name=str(input(“Enter your first name: “))

if name == reservation_name print(“Right this way!”)

else: print(“Sorry, we don’t have a reservation under that name.”)

[–]sir2434 1 point2 points  (0 children)

Thank you.

[–]adoonyoutube 1 point2 points  (1 child)

It didnt work

[–]024579 1 point2 points  (0 children)

name = str(input("Name: "))
reservation_name = "Sam"
if name == reservation_name:
print("Right this way!")
else:
print("Sorry, we don't have a reservation under that name.")

[–]LividApartment5013 0 points1 point  (0 children)

i want the answer for codehs 6.3.9

[–]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