offer_list = ['Allen','Tom'] for i in offer_list:#注意冒号 print ('{}, you have passed our interview and will soon become a member of our company.'.format(i))#注意format格式() offer_list.remove('Tom') offer_list.append('Andy') for j in offer_list: print ('{}, welcome to join us!'.format(j))