Please someone help me with my snake game, can't get a good answer

Debugging code does take some practice. I put together the following post about An introduction to debugging code that takes you through some of the initial steps using an example of code that help was being sought for.

You might find some useful tips there.