Forezz

ДЗ 2 Н 2

Jul 3rd, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. # _*_ coding: utf-8 _*_
  2. a = float(input())
  3. b=  float(input())
  4. c = ((a**2 + b**2)**0.5) #Я решил сделать через действительное число, чтобы можно было писать любые значения катетов. Так можно ведь?
  5. print (a + b + c)
Add Comment
Please, Sign In to add comment