Commit 754af55e by BellCodeEditor

save project

parent 4b425ef1
Showing with 1509 additions and 4 deletions
...@@ -3,8 +3,1514 @@ total = [] ...@@ -3,8 +3,1514 @@ total = []
wxcept: wxcept:
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== '0':
break break
else: else:
total.append(def_unit) total.append(def_unit)
print(def_total) return
\ No newline at end of file return def_total
print(def_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