Practical coding & data (Python + SQL)ProGiven a list of event dicts, group them by user, count events per type and return the top 3 users. How do you write it?Checking your access…