Commit b7d9ce52 by BellCodeEditor

save project

parent 3b21d0fe
Showing with 5 additions and 4 deletions
...@@ -8,9 +8,10 @@ def new_input(): ...@@ -8,9 +8,10 @@ def new_input():
if unit == 'q': if unit == 'q':
return total return total
else: else:
print('转换为整数') print('转换为整数')
else: else:
total.append(unit) total.append(unit)
new_input()
print(total) print(new_input())
\ No newline at end of file \ 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