Created
April 1, 2015 10:59
-
-
Save MarcScott/deeff1b0de1ab4c34280 to your computer and use it in GitHub Desktop.
Python 3 Type Casting
This file contains 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
name = input("What's your name? ") | |
age = int(input("Hi " + name + ". How old are you? ")) | |
print("So on your next birthday you'll be " +(str(age+1))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment