Last active
          September 10, 2020 14:12 
        
      - 
      
- 
        Save Jay-flow/bed1be59fd4a8a723bf9de0cbc4c2765 to your computer and use it in GitHub Desktop. 
    decorator_example
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def decorator_func(input_func): | |
| def wrapper_func(): | |
| return input_func() | |
| return wrapper_func | |
| def example(): | |
| print("I'm example function") | |
| decorated_example = decorator_func(example) | |
| decorated_example() | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment