Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
- print("hello")
- for i in range (0,16):
- for j in range (0,16):
- x=A[i]
- y=A[j]
- if x*x+12*12==y*y or (x*x+y*y)==12*12:
- print("x is " +str(x) +" y is " +str(y))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement