code: def combine_kwargs(**kwargs):
      
      combined_kwargs = []
  
      # Loop through all kwargs provided
      for kw, arg in kwargs.items():
          if isinstance(arg, dict):
              for k, v in arg.items():
                  for tup in flatten_kwarg(k, v):
                      combined_kwargs.append(('{}{}'.format(kw, tup[0]), tup[1]))
          elif is_multivalued(arg):
              for i in arg:
                  for tup in flatten_kwarg('', i):
                      combined_kwargs.append(('{}{}'.format(kw, tup[0]), tup[1]))
          else:
              combined_kwargs.append((text_type(kw), arg))
  
      return combined_kwargs
docs: Flatten a series of keyword arguments from complex combinations of
      dictionaries and lists into a list of tuples representing
      properly-formatted parameters to pass to the Requester object.
  
      :param kwargs: A dictionary containing keyword arguments to be
          flattened into properly-formatted parameters.
      :type kwargs: dict
  
      :returns: A list of tuples that represent flattened kwargs. The
          first element is a string representing the key. The second
          element is the value.
      :rtype: `list` of `tuple`