There is information about the dates of birth of employees of the institution.
a) Determine the youngest employee.
b) Determine the most senior employee.
c) Get a list of all employees born in the spring.
my code is:
f=open('1.txt','rt') q=f.read() in_list=list(filter(lambda x: x != '', q.split('\n'))) out_list=[] for string in in_list: item=list(map(int,string.split(' ')[2].split('.'))) out_list.append(item) print(out_list) Further, I understand that it is necessary to calculate the difference between today's date and dates of birth of employees -> the greatest number of days in the difference is the senior employee, the smallest is the youngest. But how to implement it? Tell me please
] 1