<form method="POST">
{% csrf_token %}
<input name="название_поля_из_формы" class="className">
</form>
<input type="text" name="username">
request.POST.get("username")
form(request.POST)
except:
messages.error(request, 'User is not exist')
{% for message in messages %}
<p>{{ message }}</p>
{% endfor %}
return render(request, 'base/login_registration.html', context)
if User.query.get(5):
from flask_login import login_required, current_user
@app.route('/secret_page')
@login_required
def secret_page():
if current_user.get_id() == 5:
return render_template('test.html', title='Страница',)
return redirect(url_for('index'))
c = (+,-,*,/)
c = (a + b, a - b, a * b, a / b)
f = random.choice(c)
print(f)
s1 = str(input())
s2 = str(input())
d = dict()
for i in range(len(s1)):
if s1[i] not in d:
d[s1[i]] = 1
else:
d[s1[i]] += 1
def check():
for i in range(len(s2)):
if s2[i] not in d:
return "NO"
if d[s2[i]] - 1 >= 0:
d[s2[i]] -= 1
else:
return "NO"
return "YES"
print(check())
n = len(lst)
for i in range(n):
if i == n:
break
if len(lst[i]) == 1:
lst.pop(i)
n -= 1
import math
n = int(input())
s = int(input())
p = int(input())
ans = round(math.log((n / s), (1 + p / 100))) + 1
print(ans)