ID = list(raw_input("What is your ID"))
def check_id(ID):
for a in ID:
if a.upper() in ID_dict:
print a.upper() +" is there"
else:
print a.upper()+" is not there"
check_id(ID)
输出:
What is your IDasde
A is there
S is not there
D is there
E is not there
这就是你想要的:
输出:
相关问题 更多 >
编程相关推荐