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.
This comment is hidden because it contains spoiler information about the solution
Bumping, because 3 years later it still hasn't been updated xD
as feedback: I think it would make sense to anchor this task to some real-world example (rather than it just being a glorified equation)..
I have no idea what was going on half the time
fair point. i've changed this for the future
Agreed.
cheers!
I agree it could be very easy.. but i set the target for 8'th kyo so it's aimed at someone writing their first code anyway
I have now changed the task and tests to return tuples :)
Fair point. I might see if i can change that later.
Added changes:
import random")
I hope that solves most of the issues. Let me know if there is anything else for me to republish the kata :)
-m
Haha, probably not! It was just for testing purposes. I can reset the range to natural numbers ^^
thanks for the feedback
This. is the way.
That is truly "Best Practices".