Created
March 31, 2013 19:31
-
-
Save royletron/5281710 to your computer and use it in GitHub Desktop.
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
number = 10 | |
non_number = "11" | |
print(number) | |
print(non_number) | |
total = number + int(non_number) | |
print(total) | |
# What if we wanted to print the two numbers and its total? | |
print(str(number)+" + "+non_number+" = "+str(total)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment