code: def simple_detect(agent):
      
      result = detect(agent)
      os_list = []
      if 'flavor' in result:
          os_list.append(result['flavor']['name'])
      if 'dist' in result:
          os_list.append(result['dist']['name'])
      if 'os' in result:
          os_list.append(result['os']['name'])
  
      os = os_list and " ".join(os_list) or "Unknown OS"
      os_version = os_list and (result.get('flavor') and result['flavor'].get('version')) or \
          (result.get('dist') and result['dist'].get('version')) or (result.get('os') and result['os'].get('version')) or ""
      browser = 'browser' in result and result['browser'].get('name') or 'Unknown Browser'
      browser_version = 'browser' in result and result['browser'].get('version') or ""
      if browser_version:
          browser = " ".join((browser, browser_version))
      if os_version:
          os = " ".join((os, os_version))
      return os, browser
docs: -> (os, browser) # tuple of strings