Commit 743dd84a by BellCodeEditor

save project

parent d6fb266a
Showing with 1 additions and 1 deletions
...@@ -9,7 +9,7 @@ pygame.init() ...@@ -9,7 +9,7 @@ pygame.init()
while True: while True:
for a in pygame.a.get(): for a in pygame.a.get():
print(a) print(a)
if a.type==12: if a.type==pygame.locals.QUIT:
exit() exit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment