Skip to content

Instantly share code, notes, and snippets.

@MarcScott
Created April 1, 2015 10:59
Show Gist options
  • Save MarcScott/deeff1b0de1ab4c34280 to your computer and use it in GitHub Desktop.
Save MarcScott/deeff1b0de1ab4c34280 to your computer and use it in GitHub Desktop.
Python 3 Type Casting
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