From 97011f3e1582c0679726461ce2e5c19120860d6c Mon Sep 17 00:00:00 2001 From: Victor Alexandrovich Tsyrenschikov <77172321+tsyrenschikov@users.noreply.github.com> Date: Sun, 8 Feb 2026 00:20:09 +0500 Subject: [PATCH] Esphome --- f.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/f.py b/f.py index 6a1fbd4..61ef557 100644 --- a/f.py +++ b/f.py @@ -1,2 +1,7 @@ -for i in range(2,101,2): - print(i) \ No newline at end of file +sum_i=0 +for i in range(int(input('Введите число последовательности: '))): + a=int(input('Введите числа')) + if a%5==0 and a>sum_i: + sum_i=a + +print(sum_i) \ No newline at end of file