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.
In Python:
The last two tests expect the function name to be
get_number_range
, however, the code given isget_numberRange
. Enforce format consistency please.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Another fizz-buzz kata, with minor issues, as described earlier.
For the Python version, a suggestion (from the PEP8):
"Function names should be lowercase, with words separated by underscores as necessary to improve readability."
I had a problem figuring out the second part of description. Perhaps it would be more clear if it stated that second method should return results for each number in range between first & second number?
It's not specified what happens when
first == last
in the second function.