code: def human_time_diff(*args, **kwargs):
      
      secs = float(datetime.timedelta(*args, **kwargs).total_seconds())
      parts = []
      for unit, mul in time_units:
          if secs / mul >= 1 or mul == 1:
              if mul > 1:
                  n = int(math.floor(secs / mul))
                  secs -= n * mul
              else:
                  n = round(secs, 1)
              parts.append("{} {}{}".format(n, unit, "" if n == 1 else "s"))
      return ", ".join(parts)
docs: Returns a human readable time difference. The largest unit is days. All *args* and *kwargs* are
      passed to ``datetime.timedelta``. Example:
  
      .. code-block:: python
  
          human_time_diff(seconds=1233)
          # -> "20 minutes, 33 seconds"
  
          human_time_diff(seconds=90001)
          # -> "1 day, 1 hour, 1 second"