Commit cdd09ac9 by BellCodeEditor

save project

parent ee2f09f1
Showing with 7 additions and 4 deletions
......@@ -3,6 +3,9 @@
#要求这个函数能计算1+2+3+……+num的结果
def fun():
print("一条广告让她也一样谈谈关于预防:")
fun()
fun()
\ No newline at end of file
if n==5:
print(n,"54321:")
else:
print(n,"54321:")
fun(n+1)
fun(1)
\ 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