Advertisement
AnnaVolkova

Untitled

Jul 16th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. def w():
  3. a=(z**2+((y-x)/2)**2)**0.5
  4. return(a)
  5.  
  6. for i in range(2):
  7. x=int(input('введите x'))
  8. y=int(input('введите y'))
  9. z=int(input('введите z'))
  10. a=w()
  11. p=(x+y+2*a)
  12. print(p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement