Commit 7af0b873 by BellCodeEditor

save project

parent 43956f0e
Showing with 11 additions and 0 deletions
...@@ -16,3 +16,7 @@ def new_input(): ...@@ -16,3 +16,7 @@ def new_input():
hhh = new_input() hhh = new_input()
print(hhh) print(hhh)
giao = 0
for i in hhh:
giao += i
print("总金额是:",giao)
price=[15,18,14,25]
sum = 0
for i in price:
sum += i
print("总金额是:",sum)
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