Commit c21401b0 by BellCodeEditor

save project

parent f65aff53
Showing with 12 additions and 5 deletions
......@@ -11,7 +11,14 @@ def a():
print("输入错误")
else:
total.append(unit)
print(total)
a()
b=a()
print(b[0])
\ No newline at end of file
return total
def sum(c):
sum1=0
for i in c:
sum1+=i
return sum1
d=a()
b=sum(d)
print(b)
\ 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