Commit 899c3986 by BellCodeEditor

save project

parent 257e98e8
Showing with 2 additions and 9 deletions
......@@ -3,22 +3,15 @@ def a():
while True:
unit= input("请输入:")
if unit== 'q':
return unit
break
else:
try:
unit=int(unit)
except:
input("要输入数字")
input("要输入数字")
else:
total.append(unit)
print("-"*30)
print("-"*30)
return total
def b(e):
qian=0
......
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