GH avatar Bite 123. Find the user with most friends

In this Bite you are presented with a users dict of keys=id's and values=usernames and a friendships list of user ID tuples expressing a friendship between two users.

Loop through friendships and find out which user has the most friends. Return a tuple of friend name and his or her friends. Have fun!

Login and get coding
go back Intermediate level
Bitecoin 3X

81 out of 81 users completed this Bite.
Will you be Pythonista #82 to crack this Bite?
Resolution time: ~52 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.2 on a 1-10 difficulty scale.
» Up for a challenge? 💪

We use Python 3.7