Hello, I have to know how much time did someone spent time on an app, but I have no idea how to do it. Basicallt what I did till now is that I created a list out of the login/logout infos that look like this:
['2021-11-22 13:22:10;Adam;login', '2021-11-22 13:23:11;Kacper;login', '2021-11-22 13:25:21;Adam;logout', '2021-11-22 14:00:32;Kacper;logout', '2021-11-23 14:42:44;Adam;login', '2021-11-23 15:11:59;Kacper;login', '2021-11-23 15:30:00;Adam;logout', '2021-11-23 15:49:21;Kacper;logout', '']
``` it contains the time, login or logout and the name. The thing is that I don't know what to do in order to compute the time spent on it. Like I was thinking about making it into dictionaries, but I am not sure if this is the right way to do it. I am not asking about help with coding, but with what I should code. I am not ure if I explained well what I need, so if you need any more specifications just ask.