Problem with code

please tell the error in code as all the answers are coming correct.
https://drive.google.com/file/d/1Vgj3QMRGB28hniaxXSj_D4pOOdXWGiSi/view?usp=sharing

go to ide.codingblocks
and save your code there and then copy paste the URL(address bar) here

hey, have you found the error in code?

the TAs will help you soon
i am a student too and i don’t know python

hey @rishabhtanishaq ,
don’t worry , i am checking the code only.
Will just update you on this.

hey @rishabhtanishaq ,
the error is with the output.
your code is correct , you just need to make some changes

  1. print((0,0)) change this to print(f"(0,0)")
  2. print((j,math.floor(math.sqrt(s-j**2))),end=' ') change this to print(f"({j},{math.floor(math.sqrt(s-j**2))})",end=' ')

It will work fine.

Your output is containing an extra space between comma and number inside the tuples and hence the error is there.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.