Commit 70c5375c by BellCodeEditor

auto save

parent aba16a22
Showing with 32 additions and 0 deletions
def x()
def x()
z=[]
while True
a=input("请输入价格("q退出"):)")
if a==q:
break
else:
try:
a=int(a)
except:
print("请输入中文")
else:
z.append(a)
return:z
def sun(s)
b==0
for i in z:
b=b+i
return:b
#d=x()
#e=sum(d)
#print("支付"+e+"元")
\ 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