NP8 发送offer

思路:

step1:创建列表,格式化输出即可;

代码如下:

offer_list = ['Allen','Tom']
print('{}, you have passed our interview and will soon become a member of our company.'.format(offer_list[0]))
print('{}, you have passed our interview and will soon become a member of our company.'.format(offer_list[1]))
print('{}, welcome to join us!'.format(offer_list[0]))
offer_list[1] = 'Andy'
print('{}, welcome to join us!'.format(offer_list[1]))