Selection Structure In Python Code For Snake Games