Commit ab23c2f9 by BellCodeEditor

save project

parent 6d43eb47
Showing with 9 additions and 8 deletions
total = [] try:
age = int(input('你今年几岁?'))
except:
print('要输入整数')
else:
if age > 18:
print('恭喜发财,红包拿来')
while True: print('bye,其实我不认识你')
unit= input("请输入:") \ No newline at end of file
if unit== 'q':
break
else:
total.append(unit)
print(total)
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