✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
チェックボックス name="tag" を複数選択し、テンプレートに渡す(1)に当てはまるものを選びなさい。
フォーム側
<input type="checkbox" name="tag" value="x">X
<input type="checkbox" name="tag" value="y">Y
<input type="checkbox" name="tag" value="z">Z
Flask側
tags = (1)
return render_template('echo.html', tags=tags)