标签:style pre col color nbsp class int print range
for a in range(1,333): for b in range(300,600): c = 1000-a-b if((a<b)and(a<c)and(b<c)) and a**2 + b**2 == c**2: print(a,b,c)
标签:style pre col color nbsp class int print range
原文地址:https://www.cnblogs.com/chif/p/9277727.html