The code I used:
# Code for "Interacting with bot."
answer = "no"
while answer != "yes":
print("Are we there yet?")
answer = input()
print("Yes! We are finally here.")
The interaction looked like this:
Are we there yet?
no
Are we there yet?
no
Are we there yet?
yes
Yes! We are finally here.
No comments:
Post a Comment