sum(counts values()out[ ] decorators decorators are functions dedicated to enhance functionality of given functione check parameter inputsformat input in [ ]def argument_test_natural_number( )def helper( )if type(xis int and return (xelseraise exception("argument is not an integer"return helper def factorial( )if = return elsereturn *factorial( - factorial argument_test_natural_number(factorialfactorial( out[ ] in [ ]factorial(- exception traceback (most recent call lastin ---- factorial(- in helper( return ( else---- raise exception("argument is not an integer" return helper exceptionargument is not an integer