Created
June 2, 2015 03:27
-
-
Save offby1/5d18dda6080f3dc4ff3b 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
| cats = input("How many cats do you have?") | |
| dogs = input("How many dogs do you have?") | |
| print("You have %r cats and %r dogs." % (cats, dogs)) | |
| print("You have %r pets in total." % (cats + dogs)) |
Author
offby1
commented
Jun 2, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment