Commit 11e445fa by BellCodeEditor

save project

parent 4ba2308e
Showing with 7 additions and 3 deletions
def new_input():
def new_inpot():
total=[]
while True:
a=input("请输入:")
......@@ -11,7 +11,11 @@ def new_input():
print("请输入新的数字:")
else:
total.append(unit)
return total
result=new_inpot()
print(result)
total.append(a)
print(total)
new_input()
\ No newline at end of file
new_inpot()
\ 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