Commit 2ed38a04 by BellCodeEditor

save project

parent 942870a4
Showing with 13 additions and 6 deletions
......@@ -11,8 +11,16 @@ def new_input():
print("请输入数字")
else:
total.append(unit)
print('-'*30)
print(total)
return total
a=new_input()
new_input()
\ No newline at end of file
print('-'*30)
print(total)
return total
def summ(money):
for i in money:
su=i+su
return su
price=new_input()
a=sum(price)
print(a)
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