diff --git a/snake.py b/snake.py index 494bc48..f91756f 100644 --- a/snake.py +++ b/snake.py @@ -64,7 +64,7 @@ while True: score+=1 else: position.pop(0) - if x<0 or x>630 or y<0 0r y>550: + if x<0 or x>630 or y<0 or y>550: exit() info='Score'+str(score)