huizih.py

snum=input()
if snum[:-1]=='':
print("输入错误")
elif snum[:-1] !='':
if int(snum[:-1]) <= 17 and int(snum[:-1])>=1:
if snum[-1] in ['A','a','f','F']:
print("窗口")
elif snum[-1] in ['C','c','d','D']:
print("过道")
elif snum[-1] in ['e','E']:
print("中间")
else:
print("输入错误")

上一篇:Python随机数、循环==剪刀石头布


下一篇:YOLOv2