Commit 0bdf425c by BellCodeEditor

save project

parent f88020f7
Showing with 3 additions and 8 deletions
...@@ -9,11 +9,6 @@ def new_input(): ...@@ -9,11 +9,6 @@ def new_input():
except: except:
print("请输入一个整数啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊,鲨臂,我艹了") print("请输入一个整数啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊,鲨臂,我艹了")
else: else:
total.append(a) total.append(unit)
print(total) print(total)
return total new_input()
b=new_input() \ No newline at end of file
sum=0
for i in range(len(b)):
sum=sum+b[i]
print(sum)
\ 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