Question d’entretien chez Boston Consulting Group

Python test: write a function to test if two strings are "compatible"