Last active
June 21, 2016 23:32
-
-
Save lbattaglioli2000/c601457c88d98157aee0b608d019e015 to your computer and use it in GitHub Desktop.
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
# You can put the prompt in as a string directly | |
userName = input("What is your name? ") | |
# ...OR... | |
# The prompt can also be stored as a string in a variable like so: | |
prompt = "How old are you?" | |
userAge = input(prompt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment