题解 | #发送offer#
发送offer
https://www.nowcoder.com/practice/66969869634b4142ac371684fcf89764
# 定义offer_list offer_list = ['Allen','Tom'] # 打印第一个格式化内容 for offer in offer_list: print("{}, you have passed our interview and will soon become a member of our company.".format(offer)) # 将Tom替换为Andy offer_list.remove("Tom") offer_list.append("Andy") # 打印第二个格式化内容 for offer in offer_list: print("{}, welcome to join us!".format(offer))