Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
return sorted() solution in Clear category for Bigger Price by hogee
def bigger_price(limit: int, data: list) -> list:
"""
TOP most expensive goods
"""
return sorted(data, key=lambda x: x["price"], reverse=True)[:limit]
Oct. 8, 2018
Comments: