1import csv
2
3with open('employee_birthday.txt') as csv_file:
4 csv_reader = csv.reader(csv_file, delimiter=',')
5 line_count = 0
6 for row in csv_reader:
7 if line_count == 0:
8 print(f'Column names are {", ".join(row)}')
9 line_count += 1
10 else:
11 print(f'\t{row[0]} works in the {row[1]} department, and was born in {row[2]}.')
12 line_count += 1
13 print(f'Processed {line_count} lines.')
14