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.
Like the other person said, you could generate the alphabets first, which is better for performance with long strings than the other solutions but worse for shorter ones, since you need to generate a translation for each letter once.
This comment is hidden because it contains spoiler information about the solution
Daaam, the reverse_dict one was smart
Dammm, nice work!
I think using minutes as a discrete unit is hacky and against the spirit of the kata. Just my irrelevant opinion ;)
See above.
don't forget the spoiler flag ;) (comments are visible from the dashboard)
cheers
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I am just a beginer)) I will try to)) thanks for your respond))
I agree!
Better practice to use a single orderedDict and invert it? Cool and simple. Good work bro!!
This comment is hidden because it contains spoiler information about the solution
yoooooo, this site hurts my brain!
wanted to habe the most "best practice" but (doc)tests and docu do not seem to be taken into account :/. anyway, if you like the format string have a look at f-strings https://zetcode.com/python/fstring/ (python >= 3.6)!
Loading more items...