题解 | #毕业生就业调查#
毕业生就业调查
http://www.nowcoder.com/practice/c3ceb05574634213af021104a63aa14b
survey_list=['Niumei','Niu Ke Le','GURR','LOLO']
result_dict={'Niumei': 'Nowcoder','GURR': 'HUAWEI'}
for i in survey_list:
if i in list(result_dict.keys()):
print('Hi, %s! Thank you for participating in our graduation survey!'%i)
else:
print('Hi, %s! Could you take part in our graduation survey?'%i)
result_dict={'Niumei': 'Nowcoder','GURR': 'HUAWEI'}
for i in survey_list:
if i in list(result_dict.keys()):
print('Hi, %s! Thank you for participating in our graduation survey!'%i)
else:
print('Hi, %s! Could you take part in our graduation survey?'%i)