Commit 9cde7c2f by BellCodeEditor

save project

parent 845a1cde
Showing with 8 additions and 5 deletions
......@@ -11,10 +11,13 @@ def mnm():
print('需要输入整数哦')
else:
total.append(unit)
j=0
for i in total:
j=j+i
return total
def n(total):
j=0
for i in total:
j=j+i
return j
money = mnm()
print(money)
y=n(money)
print(y)
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