code: def uptime():
      
      from datetime import timedelta
  
      with open('/proc/uptime', 'r') as f:
          uptime_seconds = float(f.readline().split()[0])
          uptime_string = str(timedelta(seconds=uptime_seconds))
  
      bob.says(uptime_string)
docs: Uptime of the host machine