When the code is run a window with a moving snake and an apple appears.
The user can control the snake with the arrow keys and/or the WASD keys.
If the snake colides with the apple the score increases by one.
If the snake collides with itself, GAME OVER!
Install an up-to-date python package.
Install pygame, time, math, and random.