python que 5

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