Commit 3c495d34 by BellCodeEditor

save project

parent 97314f9c
Showing with 13 additions and 6 deletions
try : def f():
age = int(input("今年几岁")) toal = []
except: while Tiur
print("输入整数") try:
print("程序结束") unit = int (input("输入价格"))
\ No newline at end of file except:
if(unit == 'q')
exit()
else:
print("输入错误,请输入整数")
else:
toal.append(unit)
\ No newline at end of file
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