# 用pythonist的写法


offer_list = ['Allen''Tom']
for l in offer_list:
    print(f'{l}, you have passed our interview and will soon become a member of our company.')

offer_list = ['Andy' if name == 'Tom' else name for name in offer_list]

for l in offer_list:
    print(f'{l}, welcome to join us!')