Commit a565b676 by BellCodeEditor

save project

parent e4e220e9
Showing with 16 additions and 1 deletions
def t(): def t():
total = [] total = []
while True: while True:
unit= input("请输入:") unit=int(input("请输入:"))
if unit== 'q': if unit== 'q':
break break
else: else:
try:
unit=int(unit)
except:
print("请重新输入")
else:
total.append(unit) total.append(unit)
print(total) print(total)
t() t()
\ No newline at end of file
try:
l=int(input("jeihdirhur"))
except:
print("jsi5yryiue5")
else:
if l<18:
print("hriuyfryuge")
print('ffwcfwefcs')
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