Smart Keypad - I

My code if failing test case 0. Plz tell the error

Hello @Sejal.Aloria This is the corrected code and now its passing all the test cases .
you were doing one thing wrong and i have corrected that.


I hope i have cleared your doubt .
if you feel your doubt is clear then please mark this as resolved.
Happy Learning !!