题解 | #发送offer#

发送offer

http://www.nowcoder.com/practice/66969869634b4142ac371684fcf89764

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]))
全部评论

相关推荐

10-31 14:54
已编辑
门头沟学院 算法工程师
点赞 评论 收藏
分享
把球:这个听过,你加了就会发现是字节的hr
点赞 评论 收藏
分享
评论
点赞
收藏
分享
牛客网
牛客企业服务