Commit c49b9db4 by BellCodeEditor

auto save

parent 3c50cda6
Showing with 24 additions and 18 deletions
# total = []
# def _鼠标():
# while True:
# unit= input("请输入:")
# if unit== '':
# break
total = []
def _shubiao():
while True:
unit= input("qing shu ru:")
if unit== '':
break
else:
try:
unit = int(unit)
except:
print('qing chong xin shu ru yi ge shu zhi')
else:
total.append(unit)
print('-'*40)
print(total)
_shubiao()
# try:
# age = int(input('how old are you?'))
# except:
# print('yao shu ru zheng shu a')
# else:
# total.append(unit)
# print(total)
# _鼠标()
try:
age = int(input('how old are you?'))
except:
print('yao shu ru zheng shu a')
else:
if age <18:
print('bu ke yi he jiu,kai che,chou yan o')
print('cheng xu jie shu~~')
\ No newline at end of file
# if age <18:
# print('bu ke yi he jiu,kai che,chou yan o')
# print('cheng xu jie shu~~')
\ 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