avatar Bite 78. Find programmers with common languages

Similar as last Bite we do another comparison of sequences exercise.

Here is the deal: you are in charge of huge org of many software devs. You need as many devs for a new app you want to build so let's do an inventory of the most common languages across the board. Your input data is a dict of this format:

{'bob': ['JS', 'PHP', 'Python', 'Perl', 'Java'],
 'paul': ['C++', 'JS', 'Python'],
 'sara': ['Perl', 'C', 'Java', 'Python', 'JS'],
 'tim': ['Python', 'Haskell', 'C++', 'JS']}

Complete the common_languages function that receives a dict of this format and returns the languages that ALL devs have in common, so in this case it would return Python and JS. Under TESTS we test your code against a few more scenarios. Have fun!

Login and get coding
go back Intermediate level
Bitecoin 3X

Will you be Pythonista #223 to crack this Bite?
Resolution time: ~30 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 2.89 on a 1-10 difficulty scale.
» You can do it! 😌

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help