Skip to content

Instantly share code, notes, and snippets.

@bedekelly
Created October 20, 2014 17:39
Show Gist options
  • Save bedekelly/ee638990b110a4508537 to your computer and use it in GitHub Desktop.
Save bedekelly/ee638990b110a4508537 to your computer and use it in GitHub Desktop.
Namespaces
x = 5
def my_function():
print(x)
x = 6
print(x)
my_function()
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment