Commit a0aa856e by BellCodeEditor

save project

parent 2005146f
Showing with 7 additions and 6 deletions
def new_input():
total = []
while True:
unit=input('jxkyyds(q):')
if unit== 'q':
unit=input('请输入(q退出):')
if unit == 'q':
break
else:
try:
unit=input('jxkyyds(q):')
excet:
print('100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
unit=int(unit)
except:
print("请重新输入一个数字")
else:
total.append(unit)
print("-"*30)
print(totle)
print(total)
new_input()
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