Commit 6707924b by BellCodeEditor

auto save

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