EMITL - Editorial

In my computer it is working but showing wrong answer in Codechef…please help me out…I am a beginner…

https://www.codechef.com/viewsolution/8630365

This is my solution in Python. It runs correctly for the test cases. But while submitting shows an error.
https://www.codechef.com/viewsolution/8633170

Please help out !!

@emerald_19 Check your if i==9 line, there should be “==” not “=”