From 277e6f336206d425866f4b7fa6f3f406d465ff38 Mon Sep 17 00:00:00 2001 From: Victor Alexandrovich Tsyrenschikov <77172321+tsyrenschikov@users.noreply.github.com> Date: Tue, 19 Aug 2025 00:12:46 +0500 Subject: [PATCH] EspHome --- f.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/f.py b/f.py index bf26fa4..2b42af6 100644 --- a/f.py +++ b/f.py @@ -1,6 +1,7 @@ import math -a=int(input()) -b=int(input()) -c=a**2+b**2 -print(math.floor(math.sqrt(c))) \ No newline at end of file +a=int(input('Кол-во детей')) +b=int(input('Кол-во вожатых')) + +c=math.ceil((a+b)/20) +print('Понабиться',c,'автобус') \ No newline at end of file