def changed_keys(a: dict, b: dict) -> list:
    """Compares two dictionaries and returns list of keys where values are different"""
    # Note! This function disregards keys that don't appear in both dictionaries
    return [k for k in (a.keys() & b.keys()) if a[k] != b[k]]