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.
Хорошая задачка. Нужно вспомнить диапазон для цикла for и его особенность))).
Not a kata suggestion. See https://docs.codewars.com/training/troubleshooting#post-discourse.
This comment is hidden because it contains spoiler information about the solution
Cool! I didn't know you could leave out the ternary operator.
h
Functions like these remind me "At least I'm learning something" xD
It's a nice exercise.
This answer is what the kata asked for, not the top voted solution. I think this should be top voted.
the || to me is for aesthetically pleasing so I certainly agree this ranks higher than &&
Think it's a fair one for 8 kyu
easy one
approved; since you are a mender, I don't see any harm in you self-approving translations on such low level kata's tbh
CoffeeScript translation
Fork with language agnostic description rewrite
Loading more items...