Pythagorus_triplet

one of my test case is getting failed.

Hi @Gade_Deepthi
Your code is failing test case when n=6 then you are printing 6 and 10 but the output should be 8 and 10. This is because in the else case you are print b instead of a.

Here is your corrected code :