Exercise

Using decorator syntax

You have written a decorator called print_args that prints out all of the arguments and their values any time a function that it is decorating gets called.

Instructions 1/2

undefined XP
  • 1

    Decorate my_function() with the print_args() decorator by redefining the my_function variable.

  • 2

    Decorate my_function() with the print_args() decorator using decorator syntax.