diff --git a/snake.py b/snake.py
index 8768c07..bfff36b 100644
--- a/snake.py
+++ b/snake.py
@@ -1,6 +1,6 @@
 import pygame
 from pygame import locals
-
+import random
 # 初始化pygame,为使用硬件做准备
 pygame.init()
 
@@ -51,8 +51,7 @@ while True:
     elif setheading == "up":
         y -= 30
     else:
-        y += 
-    import 
+        y += 30 
     while True:
         if x == apple_x and y == apple_y:
             apple_x = random.randint(0,660)