<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_store_prompt(name):
 """Create a prompt which implements the `store` feature. :param name: name of the generator :return: prompt """

    def _prompt(questions, answers=None, **kwargs):
        stored_answers = _read_stored_answers(name)

        to_store = []
        for q in questions:
            if 'store' in q:
                if q.pop('store'):  # remove it so whaaaaat does not bark
                    to_store.append(q['name'])
                    if q['name'] in stored_answers:
                        q['default'] = stored_answers[q['name']]

        answers = prompt(questions, answers, **kwargs)
        if to_store:
            # save answers for questions flagged with 'store'
            for s in to_store:
                if s in answers:
                    stored_answers[s] = answers[s]
            _store_answers(name, stored_answers)
        return answers
    return _prompt