def prompt(question):
    """
    ask a question (e.g 'Are you sure you want to do this (Y or N)? >')
    return the answer
    """
    try:
        print(question)
        foo = input()
        return foo
    except KeyboardInterrupt as e:
        raise e
    except:
        return