Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def outer_function():
- message = 'Hi'
- def inner_function():
- print(message)
- return inner_function()
- my_func = outer_function()
- my_func()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement