1. Given the data for user log ins in the format username<userid> ,time ,date of login. Time in HH:MM:SS, date in YYYY:MM:DD and username as constant as user with varying user ids eg. user1,user2,...
from the given data output the number of times a particular user has logged in on a particular day in the format of say [[user1,2021-01-01,3],[user1,2021-01-02,2],[user2,2021-01-01,4]]
your code should eliminate invalid inputs such as wrong time or date etc.
0<=HH,MM,SS,day,month<=99
2000<=year<=3000