Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
i knew it should be something like this but i just can't wrap my head aroud it. nice one
Couse I solved it Ai and after I did it without sorted Ai solved this with sorted
Cool way of doing that. In my answer I used a tuple instead of a dictionary so I didn't have to sort it later on. Both ways work.
why do you think he used AI?
To be fair, I was working on this, and while it isn't "needed" I think the python doesn't guarantee what order keys are stored in. A dictionary uses hashing internally afterall! in my own solution I used reversed for a very similar purpose to this guy's sorted.
Couse there is no need sorted
I think u used Ai Bro
Smart.
This comment is hidden because it contains spoiler information about the solution
still here 10 years later :)
and yup comment would suffice but ive come around to this. agreeing that this being the default for reversing an iterable in Python.
A polite FYI: the comment you're replying to is nearly a decade old
Couldn't that be remedied with a comment explaining what is happening?
This comment is hidden because it contains spoiler information about the solution
评论写中文给who see? O_o
额外添加了900,400,40,9后就不需要其他逻辑了!
Loading more items...