Commit 832fa038 by BellCodeEditor

save project

parent fd48f1fb
Showing with 8 additions and 4 deletions
def d():
ii=[]
whlie True:
unut=input("输入价格")
s=0
for i in ii:
s=s+i
if unut="p"
break
try
try:
int(unut)
except:
print("请输入数字")
else:
d.append(unut)
\ No newline at end of file
ii.append(unut)
return ii
\ 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