Commit 3d05f448 by BellCodeEditor

save project

parent 9fc54849
Showing with 7 additions and 1 deletions
......@@ -4,6 +4,7 @@ def 价格():
unit= input("请输入:")
print('-'*30)
if unit== 'q':
break
else:
try:
......@@ -12,5 +13,10 @@ def 价格():
print('请输入一个整数')
else:
total.append(a)
print(total)
return total
print(total)
价格()
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