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
You are meant to assign 4 variables a value each, not write helper functions or something else. You should click "reset" button and try again :P
This comment is hidden because it contains spoiler information about the solution
用的for循环
咋才能把时间减短
This comment is hidden because it contains spoiler information about the solution
There is a typo in the Ruby test cases. Currently the test cases which should return 'A' are categorized under "should return a B for averages above 90".
I was able to figure it out when building a more complete game.
The kata is not flawed; thousands of people have solved it.
The idea is simply that the six functions listed are available to you to call upon.
Instead, your function returns strings of the function names, where nowhere in the description did it ask you to return anything.
Take note that the eror message says:
should call all 6 functions
followed by0 should equal 6
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
One of worst descriptions ever.
so, im 9kyu hahahaha!
Please use appropriate markdown formatting and flag your comment as a spoiler when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
See https://docs.codewars.com/training/troubleshooting#.print-vs-return and https://docs.codewars.com/training/training-example#writing-a-solution.
This comment is hidden because it contains spoiler information about the solution
Loading more items...