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.
The very same for me. Didn't thought putting last element as 0! Smart!.
820 850 550
[18.0, 19.0, 59.0] should equal [18, 20, 0]
No random tests.
This comment is hidden because it contains spoiler information about the solution
TypeError: 'int' object is not iterable ???
I like dictionaries!
IMHO this isn't an issue. The description is global for every language and should be an information, that you can use a dict specified in the selected language.
For that case, there is an info in the description:
111 wouldn't be possible, since the index is increasing and the strings "ONE", "NEN" and "ENO" would be used.
recover("ONENO") => "11"
why not 111?
I just wonder is there any real reason for ; then eventhough then on next line do same trick?
the code is not efficient, takes long time to finish
try a way to get rid of the while loop
https://docs.python.org/3/tutorial/datastructures.html#comparing-sequences-and-other-types
Man that's perfect
Exactly what I did :P, the trick was making the last key 0 in the dictionary for the modulo to work for any nb_petals being a multiple of 6 :P
Yeah that's what I needed. Nice.
Loading more items...