Shortcut:

    elif flip: