def angle_delta(a1, a2):
    """
    Calculate the absolute difference between two angles in degrees

    :param a1: (float) angle in degrees
    :param a2: (float) angle in degrees
    """
    return 180 - abs(abs(a1 - a2) - 180)