21
Alexander Viter
Last seen 1 year ago
Member for 8 years, 9 days
Difficulty Advanced
Software engineer since 2018, ex mechanical engineer.
Live in Odesa, Ukraine.
I think this is more Creative solution and less Clear =)
-x['price'] can be replace with x['price'], reverse = True
More
Great solution! =)
I think you have used print(phrase) for testing, so you can delete this
line in the final version of code.
More
Good solution)
You can use some Python trick for line 3:
a = b = number
It works the same as your code.
More