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.
The kyu are given by a moderator according to the given average but not by the author.
You're welcome. Thanks for your feddback and time solving this kata.
Yes sorry. 14 in the amount of odd primes below 80. You have a global variable in your code. Could you refactor it having only local variables and see if the problem persists?
Hi karapetyan. I tested your code in ruby. For an upper bound
80
:TRUE PRIMES: [3, 5, 7, 11, 13, 17, 19, 31, 37, 53, 59, 71, 73, 79]
and your result is:
[14, 79, 97]
14
does not fulfil the required property for this kataHope that you can fix the problem of your code.