✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
page を取得し int に変換する(1)に当てはまるものを選びなさい。
フォーム側
<input type="text" name="page">Flask側
page = request.args.get('page', '1')
try:
page = (1)
except ValueError:
page = 1