Last active
April 19, 2016 18:45
-
-
Save bast/63628ee9d8e23507ec35 to your computer and use it in GitHub Desktop.
impure-python-example
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
def my_function(parameters=[]): | |
parameters.append(100) | |
return parameters | |
print(my_function()) | |
print(my_function()) | |
print(my_function()) | |
print(my_function()) | |
print(my_function()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment