<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def prompt_choice_for_config(cookiecutter_dict, env, key, options, no_input):
 """Prompt the user which option to choose from the given. Each of the possible choices is rendered beforehand. """

    rendered_options = [
        render_variable(env, raw, cookiecutter_dict) for raw in options
    ]

    if no_input:
        return rendered_options[0]
    return read_user_choice(key, rendered_options)