Python Flask Basics Character Builder Looping Through Items

Chastin Davis
PRO
Chastin Davis
Pro Student 2,299 Points

Why does this error come up ? parse error??

What is the syntax to set up the for loop in the xml here?

app.py
from flask import Flask, render_template

from options import OPTIONS

app = Flask(__name__)


@app.route('/')
def index():
    return render_template('options.html', options=OPTIONS)
templates/options.html
<ul>
  {% for option in options.items() %}
  <li><input id="{{ option.item() }}" name ="{{ option }}"></li>
  {% endfor %}
</ul>