text: from time import time
  
  def timeit(method):
      """decorator function to measure execution time"""
      def timed(*args, **kw):
          ts = time()
          result = method(*args, **kw)
          te = time()
          print(f"Execution time: {(te - ts):2.2f} sec")
          return result
  
      return timed