Commit 2fe11a22 by BellCodeEditor

save project

parent 8bc0b4c9
Showing with 6 additions and 4 deletions
...@@ -8,6 +8,8 @@ def new_input(): ...@@ -8,6 +8,8 @@ def new_input():
else: else:
total.append(int(unit)) total.append(int(unit))
except: except:
print('请输入数字或'q'') print("请输入数字或q")
print(total) return total
new_input()
\ No newline at end of file listl = new_input()
print(listl)
\ 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