SHARE
TWEET

Untitled

a guest Jul 16th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def outer_function():
  2.     message = 'Hi'
  3.  
  4.     def inner_function():
  5.         print(message)
  6.  
  7.     return inner_function()
  8.  
  9. my_func = outer_function()
  10.  
  11. my_func()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top