Python's default for add_other is "prompt", which calls input().
In non-interactive sessions, Python's input() raises EOFError, which
the Python code catches and treats as "no". The R default matches Python's
default ("prompt"). This helper validates the user's input.