标签:pre name input lse coding use bin print else
#!/user/bin/python
# -*- coding:utf-8 -*-
name = input(‘输入名字:‘)
age = int(input(‘年龄:‘))
if name == ‘zd‘:
if age == 24:
print(‘对的‘)
else:
print(‘错的‘)
else:
print(‘不对‘)
标签:pre name input lse coding use bin print else
原文地址:https://www.cnblogs.com/zhang-da/p/10055782.html