Commit e003d756 by BellCodeEditor

auto save

parent 1a2a54f6
Showing with 6 additions and 1 deletions
......@@ -5,6 +5,11 @@ def price():
if a=='q':
break
else:
total.append(a)
try:
a=int(a)
except:
print('请输入整数')
else:
total.append(a)
print(total)
price()
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