Commit 7043529f by BellCodeEditor

save project

parent 4297ded1
Showing with 9 additions and 2 deletions
......@@ -11,6 +11,13 @@ def func():
print("请重新输入数字")
else:
total.append(unit)
print(total)
func()
return total
A=func()
def num(x):
B=0
for i in x:
B=B+i
return B
print(num(A))
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