Commit b4edf7a1 by BellCodeEditor

save project

parent 64b2b585
Showing with 21 additions and 0 deletions
......@@ -6,3 +6,4 @@ while True:
else:
total.append(unit)
print(total)
def d():
d=[]
while True:
unit=input("输入(q退出)")
if unit=="q":
break
else:
try:
unit=int(unit)
except:
print("请重新输入")
else:
d.append(unit)
print("-"*30)
print(d)
\ No newline at end of file
++ "b/\346\230\257\343\200\202py"
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