human
Complete the below
def _list_readline(x):

    ''''Given a list, returns a readline() function that returns the next element
    with each call.'
    '''
assistant
#Here is the Python program you requested.
    x = iter(x)
    def readline():
        return next(x)
    return readline