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.
I had the same issue then I realized I needed to add logic to give the additional points only to those with 5 or more courses. Also just make sure to add 0 points to grades other than ABCD. I was adding undefined to an integer.
ok, thanks
Where did you get that last 20?
...
Read the info on that link please, you need to write
print(whatever_value_you_want_to_inspect)
. In this case,print(arr)
. And that works in both, you need to write it inside your functionfind_hack
, not in another function that doesn't get called in the tests.log outputs only on the 'test' button, not on the 'attempt'
Print the input yourself to debug your code: https://docs.codewars.com/training/troubleshooting#print-input
what are the inputs 'Fixed tests 3'???
Fixed tests 3:
['name3', 'name4'] should equal ['name2', 'name3', 'name4']???
Why???,,,
the code should go perfectly
all other 204 tests have been passed
This comment is hidden because it contains spoiler information about the solution