code: def build_html_listbox(lst, nme):
      
      res = '<select name="' + nme + '" multiple="multiple">\n'
      for l in lst:
          res += '    <option>' + str(l) + '</option>\n'
      res += '</select>\n'
  
      return res
docs: returns the html to display a listbox