Commit ec202235 by BellCodeEditor

save project

parent fba2ef8d
Showing with 3 additions and 9 deletions
...@@ -5,11 +5,5 @@ def a(): ...@@ -5,11 +5,5 @@ def a():
if unit== 'q': if unit== 'q':
break break
else: else:
try: total.append(unit)
unit =int(unit) print(total)
except: \ No newline at end of file
print()
else:
total.append(unit)
print(total)
a()
\ 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