Smart Keypad 1 question

getting wrong answer for first testcase

there was small error in your code


follow this

Please reply to this

i have pointed out the error in your code