Skip to content

Instantly share code, notes, and snippets.

@tshirtman
Created November 24, 2018 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tshirtman/30bfaf7da7daaaf5d86ae974fd41296f to your computer and use it in GitHub Desktop.
Save tshirtman/30bfaf7da7daaaf5d86ae974fd41296f to your computer and use it in GitHub Desktop.
value = 1
def a():
print(value)
b()
def b():
value = 2
print(value)
c()
def c():
print(value)
d()
def d():
value = 3
print(value)
a()
@tshirtman
Copy link
Author

1
2
1
3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment