From 444c46b6952a99477d168d8d20f5156a46ace7af Mon Sep 17 00:00:00 2001 From: Victor Alexandrovich Tsyrenschikov <77172321+tsyrenschikov@users.noreply.github.com> Date: Sun, 1 Mar 2026 21:02:34 +0500 Subject: [PATCH] Project and EspHome --- f.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/f.py b/f.py index c51fead..87fb58c 100644 --- a/f.py +++ b/f.py @@ -1,6 +1,4 @@ -students = [["Alice", [5, 4, 4, 5]],["Bob", [3, 4, 4, 3]],["Charlie", [5, 5, 5, 4]]] - -c=[] -for student in range(len(students)): - c.append(sum(students[student][1])/len(students[student][1])) -print('Максимальный балл: ',students[c.index(max(c))][0],'',max(c)) \ No newline at end of file +a=list(map(int,input().split())) +for i in range(len(a)): + if a[i]%2==0: + print(a[i]) \ No newline at end of file