We use Python 3.6

go back Level: Intermediate (img: IM / score: 3) level Bite 78. Find programmers with common languages

19 out of 19 users completed this Bite ...
Will you be Pythonista #20 to crack this Bite?
Average Bite difficulty 1-10 rating: 1.5
» You can do it! 😌

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!

Github login button