ups, you're right! Thanks for telling me. I will not commit the same mistake again.
Please use spoiler flag next time. Or just don't post the solution in your comment.
This comment is hidden because it contains spoiler information about the solution
If I am coding for me its ok to avoid most of the data validation.
I hope most of the members hear for improving the skills and adapt new ideas to be a bug free coding.
When practicing do concentrate in perfection, it’s my vision.
I am sorry to both of you if I heart you in some way.
Just my opinion, but it seems the whole point is to write code for the purpose of passing the tests, so if it passes; it passes. I actually often don't read the description, if it's not necassary. First thing I do is return the inputs to see what I'm given, and what is expected. THEN, I read the description if it's not obvious what to do. This saves me a lot of time. If any requirement is truly a requirement, it should be tested for.
That being said, I do appreciate the hard work of the kata creators, and some descriptions are very clever/funny and have made me laugh out loud at times.
I have the gauss formula in my mind but it wasn't enough because I am so stup88 :C
You can't expect the Users to read the description
If the answer ends with a 0, it should be rounded off without the 0. So instead of 5.50, we should get 5.5.
148 variations of this code and codewars chose to put the one with the import inside the function on display.
man you just end this
I thought I was clever ;D
I think arseen tried to say the same thing :P
Пожалуй я даже не буду показывать своё решение. Стыдно.
why didnt i remember about count() hahaha nice answer!!