code: def percent_of_the_time(p):
      
      def decorator(fn):
  
          def wrapped(*args, **kwargs):
              if in_percentage(p):
                  fn(*args, **kwargs)
  
          return wrapped
  
      return decorator
docs: Function has a X percentage chance of running