def merge_dicts(dict1, *dicts):
    """returns a dictionary consisting of all the dicts, overriding key values in the order they're passed in"""
    merged = dict1.copy()
    for d in dicts:
        merged.update(d)
    return merged