Created
March 8, 2019 16:09
-
-
Save Cyborg-Model-Z/520f0a13c19aa5a4950df80355912839 to your computer and use it in GitHub Desktop.
Swamp 1.0
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
print ("Hello") | |
frogs = 0 | |
print ("Here are two frogs") | |
suggestion = "Let's breed them" | |
respect = ", don't watch it's rude" | |
initialization= (suggestion + respect) | |
def double_frogs(frogs): | |
"""Doubles your frogs!""" | |
print (initialization) | |
print("you now have " + str(frogs*2)) | |
double_frogs(2) | |
#Let's try a new food | |
print ("Pool sanitized") | |
print ("Here are 3 fresh frogs and the new food") | |
def triple_frogs(frogs): | |
"""Triples your frogs""" | |
return frogs * 3 | |
print("you now have " + str(triple_frogs(3))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Funny stuff!