Skip to content

Instantly share code, notes, and snippets.

@adrianmarkperea

adrianmarkperea/scopes.py

Last active Oct 13, 2019
Embed
What would you like to do?
# scopes.py
# Scope A
a = 1
b = 16
def outer():
# Scope B
c = 24
d = 'Hello, World!'
def inner():
# Scope C
e = 'I like'
f = 'fried chicken'
# (Implicit) Scope D
print('Hello!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.