Created
July 15, 2018 23:39
-
-
Save idoushiki/454765d3d67254059d69a319da6ed715 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
amount=0 | |
def bread(menu,am): | |
global amount | |
amount=amount+am | |
msg=menu+str(amount) | |
print(msg) | |
bread("greentea",20) | |
bread("greentea",20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment