Created
May 14, 2014 17:05
-
-
Save benjaminEwhite/c2b3516b9c34604bc3f8 to your computer and use it in GitHub Desktop.
simple objects don't get changed
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
my_number = 10 | |
def change(a_number): | |
a_number = 3 | |
print(my_number) | |
change(my_number) | |
print(my_number) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment