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
ah ok, i see what i did.... I will try to fix this now
This comment is hidden because it contains spoiler information about the solution
OK! I have updated the Kata, I hope this is better. I really appretiate your feedback, it has been really helpful and I actually learned quite a bit from building this kata, even if it was really simple.
Hmmm.... aparently my changes didnt save. I will try to redo them with these new suggestions tomorrow. Thanks again!
Ok, I have updated a bit, I tried building some random number tests and it works ok... the problem is I dont know how to create a float with only 1 or 2 decimals and sometimes it returns the error "cannot convert float infinity to int" or something like that.
Any suggestions??
Haha, yea I see what you mean. I am still VERY new to programming, and to CodeWars especially. I was really trying to just make a Kata to understand how they get created. I will try to add some better test cases. Thanks for the feedback.