Commit 5e2942b1 by BellCodeEditor

save project

parent dc70412a
Showing with 44 additions and 0 deletions
def new_a():
to=[]
while True:
un=input("价格,q推出")
if un=="q":
break
else:
try:
un=int(un)
except:
print()
else:
to.append(un)
print(to)
print(new_a())
def num(money):
count=0
for i in money:
count=count+i
return count
num(count)
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