Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- def w():
- a=(z**2+((y-x)/2)**2)**0.5
- return(a)
- for i in range(2):
- x=int(input('введите x'))
- y=int(input('введите y'))
- z=int(input('введите z'))
- a=w()
- p=(x+y+2*a)
- print(p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement