Commit 2fe11a22 by BellCodeEditor

save project

parent 8bc0b4c9
Showing with 7 additions and 5 deletions
...@@ -7,7 +7,9 @@ def new_input(): ...@@ -7,7 +7,9 @@ def new_input():
break break
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