questions = {'4+4': 8, '3*4': 12, '3+7': 10, '9-7': 2}
question, answer = random.choice(list(questions.items()))
user = int(input())
if answer == user:
# ...
from ast import literal_eval
if literal_eval(vivod) == user:
riddles = {
'1+1': 2,
'2+2': 4,
}
a = input('Введите число ')
print(a[::-1])
input()
a = input('Введите число ')
b = a[-1] + a[1: -1] + a[0]
print(b)
input()
str.replace(old, new[, max])
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'main',
]
l = []
for i in range(4668, 10414+1):
if (i % 3 == 0 or i % 11 == 0) and (i % 2 != 0 and i % 13 != 0 and i % 22 != 0 and i % 33 != 0):
l.append(i)
print(len(l), min(l))