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.
well done :-)
Thank you!
Sorry!
Please know that you need to use a spoiler flag when discussing code / solution methods. I have added the flag.
This comment is hidden because it contains spoiler information about the solution
Bro this is fire!
I really need to remember this exists.
Nice using of f string
Love to see that my exact solution is the top voted one. :)
Oh Jesus f... Christ, I knew there'll a one-liner...
Have you ever seen a golfed submission, that is easy to read?
Love to see that my exact solution is the top voted one :)
"Clever" vote was basically designed for "solutions that make use of obscure language features that one wouldn't apply in production", so I considered this to be right the case.
I didn't at once guess to combine single and double quotation marks.
This is best practices now, ignore comments on second solution with format as they are 5 years old.
There was a time where format was best practices, because many apps still didn't move to a higher python version. But Python 3.6 (first version where f strings released) is no longer supported both development and security wise.
f strings are quite the beauty.
Loading more items...