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