code: def timer(diff, processed):
      
      # Changes seconds into minutes and seconds
      minutes, seconds = divmod(diff, 60)
      try:
          # Finds average time taken by requests
          time_per_request = diff / float(len(processed))
      except ZeroDivisionError:
          time_per_request = 0
      return minutes, seconds, time_per_request
docs: Return the passed time.