Commit 5a1fe4ed by BellCodeEditor

save project

parent 91e073ed
Showing with 3 additions and 4 deletions
reurn=[]
def new_input():
total = []
while True:
......@@ -7,12 +6,11 @@ def new_input():
break
else:
try:
unit=int(unit)
unit=int
except:
print("请输入:")
else:
total.append(unit)
print(total)
reurn=return
print(total)
new_input()
\ 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