Guest User

Untitled

a guest
May 20th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from math import sqrt
  2. for x in range(1,1000):
  3. for y in range(1,1000):
  4. if sqrt((x*x)+(y*y))+x+y==1000:
  5. print("x:",x," y:",y," z:",sqrt((x*x)+(y*y)))
  6. print(x*y*sqrt((x*x)+(y*y)))
Add Comment
Please, Sign In to add comment