BInary string with no consecutive zeros

Please Tell me whats wrong in my code for the problem. It has failed in two test cases.

hey @shobhit_singh03 could you share your code link so that i can look into it.

@shobhit_singh03 Please give me your code link so that i can identify your error.

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.