I am new to Python. I have a flask form that I am submitting. When I submit the form I am trying to post the data to a list as follows:
for v in request.form.items():
[('w1', 'first'), ('w2', 'second'), ('w5', 'third'), ('w7', 'fourth'), ('w4', ''), ('w6', ''), ('w3', '')]
items does; it iterates through the dictionary in the form of (key, value) pairs.
If you just want the values, iterate through those:
for v in request.form.values():