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.
Code not clear enougth
I did the same but one-lined. In the other hand and IMHO it's not good practices create variables with names reserved by Python, even if there seems to be no risk.
Great
This comment is hidden because it contains spoiler information about the solution
wow we used the same syntax, fancy that!
Everything in Python is an object hence creating more objects than you need is slower.
However accessing an item by index in a list is slower than accessing the item directly. So if you need to access the item many times...
Maybe it would be interesting to find out the actual answer to this question with timeit.
Superb solution! :)
This comment is hidden because it contains spoiler information about the solution
Very readable with the most obvious use of the math library.
This comment is hidden because it contains spoiler information about the solution
holy sh*t
very basic but fast!
but it don't work with the dashes, apostrophes, etc