please tell the error in code as all the answers are coming correct.
https://drive.google.com/file/d/1Vgj3QMRGB28hniaxXSj_D4pOOdXWGiSi/view?usp=sharing
Problem with code
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 ,
the error is with the output.
your code is correct , you just need to make some changes
-
print((0,0))
change this toprint(f"(0,0)")
-
print((j,math.floor(math.sqrt(s-j**2))),end=' ')
change this toprint(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.