Writing to Files
employees.txt (before function call)
employee_file = open("../employees1.txt", "a") employee_file.write("Toby - Human Resources") employee_file.write("\nKelly - Customer Service") employee_file.close()
employees.txt (after function call)
Toby - Human Resources Kelly - Customer Service