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.
Does Kobayashi Maru ring a bell for you?
Sometimes, you need to decide it you want to accept the defaults ;-)
Thanks a bunch for expressing how I felt when deliberately violating PEP8 :D
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Indeed! Simply add the word
modulo
to the docstring and a previously valid solution turns invalid :DThis comment is hidden because it contains spoiler information about the solution
Treatment of
float
is unresolved.This comment is hidden because it contains spoiler information about the solution
Apart from what Blind4Basic and Voile already mentioned, it's not PEP 8-compliant.
Seems to be a duplicate of Sum of Digits / Digital Root.
Rounding to two decimals seems necessary but is not explicitly stated in the instructions.
Just a minor suggestion for the Python kata. You might want to follow PEP 8:
lowercase_with_underscores
to name the function.string
for the parameter name since it shadows an existing module with the same name.For a non-native speaker
might be misleading since it doesn't happen automatically but is part of the task. What about about giving a more clear instruction, such as
At the end of the day, this is just a variant of Fizz Buzz. In contrast to the original, this does NOT properly solve the case of numbers divisible by two others, namely 7 and 15.
This comment is hidden because it contains spoiler information about the solution
Loading more items...