Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Using few lists solution in Creative category for Bigger Price by likewind
def bigger_price(limit, data):
p = []
for i in data:
p.append(i['price'])
p = sorted(p)[::-1]
answer = []
while limit > 0:
for i in data:
if i['price'] == p[0]:
answer.append(i)
limit -= 1
del p[0]
break
return answer
April 3, 2018
Comments: