Skip to content

Instantly share code, notes, and snippets.

@oohmeknees
Forked from anonymous/indentation example.py
Created March 8, 2017 08:14
Show Gist options
  • Select an option

  • Save oohmeknees/402f654b610706afb86d6eca1939531d to your computer and use it in GitHub Desktop.

Select an option

Save oohmeknees/402f654b610706afb86d6eca1939531d to your computer and use it in GitHub Desktop.
indentation example created by jsh - https://repl.it/GLye/0
def continueFunction():
response = 'n'
while not(response == 'Y'):
response = input('Enter Y to continue: ')
return response
answer = continueFunction()
print('The user typed: ' + answer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment