The code is compiled and tested

I compiled and tested the code for both positive and negative numbers. But I am not able to submit the code.

Hello @prasoonsingh934_6fac81257d1e359d,
What is the error you are getting while submitting the code. Could you pls share the screenshot.

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.

hi @prasoonsingh934_6fac81257d1e359d,
dont print anything else just print the no

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.