code: def urlencode(query, params):
      
      return query + '?' + "&".join(key+'='+quote_plus(str(value)) 
                                    for key, value in params)
docs: Correctly convert the given query and parameters into a full query+query
      string, ensuring the order of the params.