知识点:python中只要判断的变量是空字符串、0、none,默认都是false
进入内层username='admin'
if username!='':
print('登录成功,欢迎用户{}'.format(username))
print('外层')
没有进入内层
age=int(input('输入你的年龄:'))
username=input('输入你的姓名:')
if age>18 and username:
print('{}今年{}岁'.format(username,age))
print('外层')



