题解 | #毕业生就业调查#

毕业生就业调查

https://www.nowcoder.com/practice/c3ceb05574634213af021104a63aa14b

import sys

survey_list=['Niumei','Niu Ke Le','GURR','LOLO']
result_dict={
    'Niumei': 'Nowcoder',
    'GURR': 'HUAWEI'
}
for i in survey_list:
    if i in result_dict.keys():
        print('Hi, {}! Thank you for participating in our graduation survey!'.format(i))
    else:
        print('Hi, {}! Could you take part in our graduation survey?'.format(i))

全部评论

相关推荐

斑驳不同:还为啥暴躁 假的不骂你骂谁啊
点赞 评论 收藏
分享
点赞 收藏 评论
分享
牛客网
牛客企业服务