Commit 5e3504c9 by BellCodeEditor

auto save

parent 022ec8df
import turtle
...@@ -16,7 +16,7 @@ index = 0 ...@@ -16,7 +16,7 @@ index = 0
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
......
def sum(n):
def sum(n):
if n==1:
return 1
value = sum(n-1)+n
raise value
\ No newline at end of file
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