Eutech interview question

Higher order funtions in python.