Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First Try solution in Clear category for Bigger Price by bastihart
from operator import itemgetter
def bigger_price(limit: int, data: list) -> list:
data = sorted(data, key = itemgetter("price"), reverse = True)
expansive = []
for n in range(0, limit):
expansive.append(data[n])
return expansive
Aug. 18, 2018