Commit a3790911 by BellCodeEditor

auto save

parent 0d3e3b05
Showing with 11 additions and 3 deletions
......@@ -11,5 +11,14 @@ def caidan():
print("输入错误请从新输入")
else:
total.append(unit1)
print(total)
caidan()
\ No newline at end of file
return total
print(sum(caidan()))
# def he(c):
# sun= 0
# for i in c:
# sun+= i
# return sun
# a= caidan()
# b = he(a)
# print(b)
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