Commit 7af0b873 by BellCodeEditor

save project

parent 43956f0e
Showing with 12 additions and 2 deletions
......@@ -15,4 +15,8 @@ def new_input():
#print(total)'
hhh = new_input()
print(hhh)
\ No newline at end of file
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