Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sort with key, then slice solution in Clear category for Bigger Price by rossras
from operator import itemgetter
def bigger_price(limit: int, data: list) -> list:
return sorted(data, key=itemgetter('price'), reverse=True)[:limit]
April 3, 2020