Skip to content

Instantly share code, notes, and snippets.

@heavenshell
Created March 17, 2014 12:04
Show Gist options
  • Save heavenshell/9598092 to your computer and use it in GitHub Desktop.
Save heavenshell/9598092 to your computer and use it in GitHub Desktop.
def foo():
def add(x, y):
return x + y
return add(1, 2)
print(foo()) # 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment