Skip to content

Instantly share code, notes, and snippets.

@iamkingsleyf
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamkingsleyf/cf9dfc12cb0c7039b521 to your computer and use it in GitHub Desktop.
Save iamkingsleyf/cf9dfc12cb0c7039b521 to your computer and use it in GitHub Desktop.
Clinic work flow
#Clinic workflow at codecademy
def clinic():
print "You've just entered the clinic!"
print "Do you take the door on the left or the right?"
answer = raw_input("Type left or right and hit 'Enter'.").lower()
if answer == "left" or answer == "l":
print "This is the Verbal Abuse Room, you heap of parrot droppings!"
elif answer == "right" or answer == "r":
print "Of course this is the Argument Room, I've told you that already!"
else:
print "You didn't pick left or right! Try again."
clinic()
clinic()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment