# Вместо ... заполняем X, M и A (массив)
X = int(input())
M = int(input())
A = [7, 2, 4, 5, 15]
for i in range(len(A)):
if A[i] > X: A[i] = M
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
# Вместо ... заполняем X, M и A (массив)
X = int(input())
M = int(input())
A = [7, 2, 4, 5, 15]
for i in range(len(A)):
if A[i] > X: A[i] = M