Error in this code

hello @vector.9974 wait i will see your code and let you know the error in your code :

hey @vector.9974 i have reframed your logic completely .please see this code :


Happy Learning !!

sir, what was the error in my code

hello @vector.9974 i have seen you code there were errors so i thought i reframe it .
please share your code again so that i can tell you the exact errors .
the code which you have shared contains some another code .

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.