Commit b8155570 by BellCodeEditor

auto save

parent 7a6ef674
Showing with 3 additions and 3 deletions
total = []
def new_input():
total = []
while True:
try:
unit=int(input("请输入:"))
if unit== 'q':
break
except:
print("错了哦")
print("dd")
else:
total.append(unit)
print(total)
print('程序结束~~')
'''
try:
age = int(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