Wildcard pattern match

this shows wrong ans on submission on hackerblocks plz correct the code and explain

@S19LPPP0202 in line 12 return 0,
as this describes that pattern is over but string is not!

I have done that but still giving wa on submission…
Plz reply at the earliest

@S19LPPP0202 it shows WA on 2 test cases, I manually downloaded and tested those cases, code is giving correct answer!
It might be a backend issue, you can also try it yourself.

BAIT and B*E check for this
It should be zero for this

@S19LPPP0202 in line 29 it should be == and not = .

also reply to this doubt
no one is replying to this doubt…plz

Plz reply at the earliest

@S19LPPP0202 we as TA respond to those doubts we acknowledge!
if no one replies then you can report your problem in whatsapp group.

If you have doubt regarding current topic then feel free to ask here.

i dont have whatsapp group i have bought extension…
that doubt is unanswered from 4 days plz reply i will mark that as resolved as well…

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.