Commit 621c24b3 by BellCodeEditor

save project

parent 01940668
Showing with 4 additions and 12 deletions
...@@ -8,17 +8,9 @@ def new_input(): ...@@ -8,17 +8,9 @@ def new_input():
try: try:
y=int(unit) y=int(unit)
except: except:
print(":") print("请重新输入:")
continue
else: else:
total.append(y) total.append(y)
print(total) print(total)
try:
new_input() new_input()
for i in len(total): \ No newline at end of file
i=int(i)
x+=i
print(x)
except:
print()
\ 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