offer_list=['Allen','Tom'] for i in offer_list: print(f"{i}, you have passed our interview and will soon become a member of our company.") for j in offer_list: if j != "Tom": print(f"{j}, welcome to join us!") else: print("Andy, welcome to join us!")