Commit b8155570 by BellCodeEditor

auto save

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