Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding: utf-8
- import math
- a = float(input('первый катет: '))
- b = float(input('второй катет: '))
- c = math.sqrt(a*a+b*b)
- print('гипотенуза: ' + str(c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement