Sometimes it takes a little while to refresh your honor total. I see that you solved this one in two languages, though. You only get honor the first time you solve a kata in any language, you don't get honor for solving it in additional languages.
Your function name is wrong, it is countSheep with a capital S. Additionally the capitalization of your result is wrong and you have the wrong output for num = 0.
If only there were some sort of warning about that happening when you click that button.
I can see that the OP unlocked solutions to this kata.
You do not get points if you click "Show solutions".
Sometimes it takes a little while to refresh your honor total. I see that you solved this one in two languages, though. You only get honor the first time you solve a kata in any language, you don't get honor for solving it in additional languages.
sometimes i submit a kata but i didn't get honors????
Понравилось это задание. Решил через цикл for.
Read this: https://docs.codewars.com/training/training-example and this: https://docs.codewars.com/training/troubleshooting
This comment is hidden because it contains spoiler information about the solution
Approved
See How to train on a Codewars kata.
Prolog translation
Wow, i used 'main' and didnt know why it wasn't work, i was loose so much time. ಥ‿ಥ
you need to return a value instead of print it
This comment is hidden because it contains spoiler information about the solution
Your function name is wrong, it is
countSheep
with a capitalS
. Additionally the capitalization of your result is wrong and you have the wrong output fornum = 0
.Please read this: https://docs.codewars.com/training/troubleshooting#post-discourse
Loading more items...