Commit 7839a4cc by BellCodeEditor

save project

parent 63290fae
Showing with 6 additions and 3 deletions
......@@ -11,8 +11,12 @@ def new_input():
print("请输入整数")
else:
total.append(unit)
print(total)
return total
new_input()
\ No newline at end of file
a = new_input()
b = 0
for i in a:
b=b+i
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