Commit a3790911 by BellCodeEditor

auto save

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