From 1c154184644ce194329c5efad023cf87d09d09ed Mon Sep 17 00:00:00 2001 From: Victor Alexandrovich Tsyrenschikov <77172321+tsyrenschikov@users.noreply.github.com> Date: Mon, 11 Aug 2025 11:35:02 +0500 Subject: [PATCH] EspHome --- f.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/f.py b/f.py index c1eb5f0..bf26fa4 100644 --- a/f.py +++ b/f.py @@ -1,3 +1,6 @@ -a=10 -b=56 -print('Сумма чисел a и b =',a+b) \ No newline at end of file +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