code: def count_time(function):
      
      @wraps(function)
      def _wrapper(*args, **kwargs):
          before = time()
          result = function(*args, **kwargs)
          diff = time() - before
          funcname = function.__name__
          print("{!r} func leave it {:.2f} ms to finish".format(funcname, diff))
          _wrapper.time = diff
          return result
  
      _wrapper.time = 0
      return _wrapper
docs: Function: count_time
      Summary: get the time to finish a function
               print at the end that time to stdout
      Examples: <NONE>
      Attributes:
          @param (function): function
      Returns: wrapped function