SHARE
TWEET

python que 3

Dprogrammed1 Jun 10th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def mk(x):
  2.     def mk1():
  3.         print("Decorated")
  4.         x()
  5.     return mk1
  6. def mk2():
  7.     print("Ordinary")
  8. p = mk(mk2)
  9. p()
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top