Problem in code

my code is failing one test-case

edited your code now try to submit
code- https://ide.codingblocks.com/s/321828
there is no need to skip for 0 and do give me a like if i was able to help you.

Hello @tusharbhardwaj127 i have made the change and commented the error .
there is no need to skip the number 0 in string .
Rest everything is fine in your code.


I hope i’ve cleared your doubt .
Happy Learning !!