Commit dc94ca97 by BellCodeEditor

save project

parent 75ba2bf6
Showing with 6 additions and 4 deletions
def suan_zhang:
def suan_zhang():
total = []
while True:
unit= input("请输入:")
......@@ -10,5 +10,7 @@ def suan_zhang:
except:
print("要输入整数哟")
else:
total.append(unit)
print(total)
\ No newline at end of file
total.append(unit)
return total
zip=suan_zhang()
print(zip)
\ 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