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.
It's used to unpack a list. Check this link
That must be a really crappy skier...
Thanks, AcesOfGlory, that was a fun kata! Never heard of that rule before =)
But it is. The instructions say: "...If a singular noun ends with a consonant and '-y', change '-y' to '-ies'. All other words just add '-s'". Isn't that rule enough?
I gave it a 7 kyu rating and, since I was very satisfied, a smiley face =)
You're right, I'm Russian. Coming from the linguistic background, it's easy to come up with crazy language stuff, but a bit more problematic to code it up from scratch =) maybe one day, when I'm more confident with programming, I'll launch a similar series, who knows...
P.S. I really admire people who study or speak Hungarian. Tried it once - proved way harder than Japanese or Arabic O____O
Loving your Hungarian series, suic! Keep the good stuff coming =)
Hi suic,
Thanks for the kata! A couple of points:
It checks if a number is even. Just an alternative way of saying
n % 2 == 0
Thanks, zebulan. I've already checked it out - pretty neat, kudos!
Agreed, couldn't think of a way to achieve this in one fell swoop...
If you're checking if a variable is (not) None, a better practice would be to use
is (not) None
instead of!= None
.From PEP 8: Comparisons to singletons like None should always be done with is or is not, never the equality operators.
I'll just leave it here, just in case: PEP 8
Cheers! =)
Please fix your description, it contradicts your example:
The solution must be rounded off to single decimal place. Example: [11.17, 79.78]
This kata is YUUUUUGEEE!!! Everybody says so! Thanks, Giacomo! =)
Hi, thanks for catching this! Totally overlooked it...
Loading more items...