Commit d601f9ad by BellCodeEditor

save project

parent dd25a38b
Showing with 4 additions and 0 deletions
...@@ -5,6 +5,9 @@ def jia(): ...@@ -5,6 +5,9 @@ def jia():
if unit== 'q': if unit== 'q':
break break
else: else:
try:
unit=int (unit)
total.append(unit) total.append(unit)
jia() jia()
print(total) print(total)
\ 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