Ответ:
print ("n = ",end="")
n=int(input())
for z in range(1, n):
for x in range(z, n):
for y in range(z, n):
if z*z+x*x==y*y: print("z = ","%2d"%z," x = ","%2d"%x," y = ","%2d"%y)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
print ("n = ",end="")
n=int(input())
for z in range(1, n):
for x in range(z, n):
for y in range(z, n):
if z*z+x*x==y*y: print("z = ","%2d"%z," x = ","%2d"%x," y = ","%2d"%y)