Commit ef71ce06 by BellCodeEditor

save project

parent f0beb09e
Showing with 8 additions and 1 deletions
def func(num):
if num == 1:
return 1
num = num + func(num-1)
return num
func_num = func(100)
print(func_num)
\ No newline at end of file
-- "a/\351\230\277\346\226\257\351\241\277\345\217\221\345\244\247\346\260\264\343\200\202py"
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