Commit 13e1d8d3 by BellCodeEditor

save project

parent 94db6807
Showing with 4 additions and 10 deletions
def abcd(): try:
total = []
while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': except:
break print("请输入数字")
else: \ No newline at end of file
total.append(unit)
print(total)
abcd()
\ 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