Commit 48cfdd17 by BellCodeEditor

save project

parent 0de151d6
Showing with 10 additions and 3 deletions
def nmd(): def a():
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': try:
break int(unit)
except:
input("again")
else: else:
unit== 'q'
total.append(unit) total.append(unit)
break
print(total) print(total)
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