def to_dict(*iterables, **kwargs):
    """
    Returns a dictionary that contains all passed iterables and keyword arguments
    """
    data = {}
    for iterable in iterables:
        data.update(dict(iterable))
    data.update(**kwargs)
    return data