I am having a weird problem while creating te Snake lang: https://github.com/Detective-Wasif/Snake/blob/main/snake.py
It parses double digit numbers properly
But it cannot parse single digit ones
So i have to annoyingly prepend 0 before each single digit number
I have tried debugging a lot, but have no clue where the error happens
Can you please help to find the bug?