human
2017-10-06 More thoughts about partial(input, prompt) and alternatives to it.
assistant
#Here is the Python program you requested.
prompt = 'gimme: '

def get_input():
    return input(prompt)

def main():
    for s in iter(get_input, 'quit'):
        process_input(s)

main()

def main():
    prompt = 'gimme: '
    for s in iter(lambda : input(prompt), 'quit'):
        process_input(s)

main()

def my_partial(function, *args, **kwargs):
    def helper():
        return function(*args, **kwargs)
    return helper

def main():
    prompt = 'gimme: '
    for s in iter(my_partial(input, prompt), 'quit'):
        process_input(s)

main()