Commit 7b06c1e0 by BellCodeEditor

auto save

parent dc70412a
def md():
total = []
while True:
try:
unit= input("尊敬的 VIP 9999999 客户请输入:")
if unit== 'q':
break
else:
total.append(int(unit))
except:
input("尊敬的 VIP 9999999 客户请输入:")
return total
def sum(money):
count = 0
for i in money:
count = count + i
return count
x = sum(md())
print(x)
\ No newline at end of file
import price
score = price.md()
score_zong = price.sum(score)
print(score_zong1)
\ 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