Created
February 6, 2017 23:35
-
-
Save shamikalashawn/ecef375f53203fe41b24f2d7fdd58885 to your computer and use it in GitHub Desktop.
Got something to say? Say away! This function takes user input until you type "exit".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def user_input_until_exit(): | |
user_input = input() | |
while user_input != 'exit': | |
user_input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment