maybe… but I use python 3 only…
At line 8 there’s a mistake, you should iterate i to c - 2 or more specifically (i < c - 1). Then it will get accepted.
hi, actually this was right… i should have defined the flag earlier before use…
But as I was running on jupyter it must have taken the previous cell’s flag and so i didn’t get the error at my side… I corrected it now, and the issue is solved… thanks a lot!!
Hello, can anyone please help me find the error in my code? https://www.codechef.com/viewsolution/48355586
Can you explain how regex work?? even some reference or video editorial would work??
thanks a lot its working now
please debug it or gimme test cases
Can someone help me to find the mistake in this solution ?
And when you’ve fixed that: