SHARE
TWEET

Untitled

a guest Jun 19th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def uppercase_decorator(function):
  2.     def wrapper():
  3.         funct = function()
  4.         make_uppercase = funct.upper()
  5.         return make_uppercase
  6.  
  7.     return wrapper
  8.      
  9. def uppercase_decorator(message):
  10.     make_uppercase = func().upper
  11.     return make_uppercase
  12.      
  13. @uppercase_decorator
  14. def salute():
  15.     return 'Hi all!'
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