Replace pi function

why it is saying wrong answer even all test case work

Hey @sid.rajput23 code seems correct, try to submit it here
https://hack.codingblocks.com/app/practice/1/1381/problem

no it cannot pass again

what is the test case??

Check this->


It works fine
code getting accepted which is not yours method->

You can check both are producing same output for sample test cases.

1 Like

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.