Snake.py

I have the flag but I, like others cannot submit it because it says incorrect. I tried formatting it a few times but have gotten no results. Its a bit of a bummer to solve the challenge but not be able to submit it.