Pythagora triplet 1st test case failed other passes

Hello @hrishikeshjanjal,

You code is logically correct.
But, there is a silly mistaking:
for the case when num is even you have to print a and then c.
While you are printing b and c.

I have modified your code:

Hope, this would help.
Give a like, if you are satisfied.