Commit f284d8a6 by BellCodeEditor

save project

parent 49eece43
Showing with 3 additions and 2 deletions
...@@ -5,11 +5,12 @@ def command(): ...@@ -5,11 +5,12 @@ def command():
try: try:
print('-'*70) print('-'*70)
unit= input("请输入:") unit= input("请输入:")
right=int(unit)
print('-'*70)
if unit== 'q': if unit== 'q':
break break
else: else:
right=int(unit)
print('-'*70)
total.append(unit) total.append(unit)
print('='*70) print('='*70)
print(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