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.
First of all, thank you! Also I found a mistake in my own understanding of the task. I didn't take account that any other letters except 'C' and 'D' lead to absence of additional 20 points. Briefly, we get 20 points if an array consists only of 'A' and 'B'. Unfortunately, i didn't understand it at first.
Print the input to debug your code.
Your code marks students having any other mark as hacked.
Thanks for the link to the trouble shooting guide. I didn't realise there was a print was unacceptabe on kata.
You don't have any return in your function
Read this: https://docs.codewars.com/training/troubleshooting/#expected-the-same
Not a kata issue. By the way, your code is not 100% right:
Fixed.
Simple issue,
ohh understood thnx
Because of that, name4 has a "C".
why name3 got 160 and name3 and name4 has equal length of array and name3 score is getting 20+ extra because of length so why name4 should not?
That line is in your code, isn't it? Read the error message:
Not a kata issue. Print the input to debug your code.
This comment is hidden because it contains spoiler information about the solution