Skip to content

Instantly share code, notes, and snippets.

@GregHilston
Created February 9, 2017 18:06
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 GregHilston/d8e469c76abe1a0ac213d5a2d2e469c2 to your computer and use it in GitHub Desktop.
Save GregHilston/d8e469c76abe1a0ac213d5a2d2e469c2 to your computer and use it in GitHub Desktop.
#!/usr/bin/python3
response = ""
affirmative = "y"
negative = "n"
while(response != affirmative and response != negative):
response = input("Do you miss Grehg? [{}/{}]".format(affirmative, negative))
response = response.lower()
if response == affirmative:
print("Contact him on Facebook")
elif response == negative:
print("Ah leave a me alone plz")
else:
print("Please enter y or n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment