21
Pavel
https://pavelmorava.com/
Last seen 11 months ago
Member for 10 years, 6 months, 16 days
Difficulty Normal
Author of Sovereign
https://www.royalroad.com/fiction/26615/sovereign
My blog
https://pavelmorava.com/
* in this case, for key parameter is lambda preferred,
* nevertheless, in case you had prepared dedicated function on advance, you should not have diminish your effort by naming it so vaguely as you did.
More
Never solve programatically something you can solve using mathematically. :)
More
#data = data.sort(key = data["price"])
It doesnt work this way. You need key=lambda x: x["price"]
More
Well, I thought SCARY category is something different. At least, I understood it like this:
http://www.checkio.org/mission/clock-angle/publications/hanpari/python-3/awful-story/
Am I wrong?
More
Too talkative and complicated. Surely not suited for first place. I am sorry :)
More