LAB_DECORATORS

Create a decorator that decorates a function with one or more arguments.

  • This decorator should check that the argument is of type str and the length of the str is more than 5
  • else raise an exception of type ValueError telling the user the arguments should be str and it should have more than 5 characters .