0

Help to get the desired output. I want to print only the Pythagorean triplets(i,j,k) where i^2+j^2=k^2 between 100 and 1000

https://code.sololearn.com/cGIKJx2VmFzf/?ref=app

1st Sep 2020, 4:36 PM
SRINJOY CHAKRAVARTY
SRINJOY CHAKRAVARTY - avatar
2 Réponses
+ 4
Please explain question completely when you ask here . U posted code only and your code is working properly but what Output u expecting you also have to mention . First update your question.
1st Sep 2020, 4:45 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Deependra Soorma The first run of the output is incorrect i.e 11,11,1(11*11+11*11 is not equal to 1*1) as well as many others. It's not a Pythagorean triplet.I want only the exact Pythagorean triplets
8th Sep 2020, 2:29 AM
SRINJOY CHAKRAVARTY
SRINJOY CHAKRAVARTY - avatar