Reading Files
Lesson 28Author : GOUP
Last Updated : September, 2020
Code
employee_file = open("employees.txt", "r")
for employee in employee_file.read_lines():
print(employee)
employee_file.close()
employee_file = open("employees.txt", "r")
for employee in employee_file.read_lines():
print(employee)
employee_file.close()