Skip to content

Instantly share code, notes, and snippets.

@bast
Last active April 19, 2016 18:45
Show Gist options
  • Save bast/63628ee9d8e23507ec35 to your computer and use it in GitHub Desktop.
Save bast/63628ee9d8e23507ec35 to your computer and use it in GitHub Desktop.
impure-python-example
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