Commit b59ac934 by BellCodeEditor

auto save

parent 7eaed43a
Showing with 25 additions and 0 deletions
try:
age = int(input("不是哥们你岁了?"))
except:
print('我™让你输其他的吗!啊!')
else:
if age < 18:
print('不是哥们你配喝🍷吗?!')
print('好了,没势了我去上了!')
\ No newline at end of file
def new_input():
total = []
while True:
unit=input("买了蛤,不给不100w许走:")
if unit == 'q':
break
else:
try:
unit = int(unit)
except:
print('不是哥们我™只让你输入整数!')
else:
total.append(unit)
print(total)
new_input()
\ 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