Commit 0b59a490 by BellCodeEditor

save project

parent 87c2fcf5
Showing with 16 additions and 0 deletions
def func():
total = []
while True:
money= input("请输入:")
if money=='p':
break
else:
try:
money=int(money)
except:
print("输入正确价格")
print(total)
func()
print("最终的价格为"+i+"元reelcrvdvv")
\ 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