You are viewing a single comment's thread. Return to all comments →
def person_lister(f): def inner(people): return [f(p) for p in sorted(people,key = lambda x: int(x[-2]))] return inner
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Decorators 2 - Name Directory
You are viewing a single comment's thread. Return to all comments →