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.
Thanks for this, i didn't have the idea of creating a new dictionnary as it wasn't required, but i can obviously see the implications forward.
The wrong answer for
n = 0
in random tests was already fixed some time ago.Rejecting this 9 year old fork...
@SamWololo that's not quite right, since ints and floats can be combined in Python (you shouldn't be able to but that's a topic for another time)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
when you think like an engineer, not a mathematician)
i liked this pin
UPDATED GROOVY TRANSLATION
Changes:
org.junit.Test
toorg.junit.jupiter.api.*
@Order
Annotations for Test Casesvery bad description
Groovy Translation
Examples describe better than words before them.
Bad description
Sorry, I couldn't think of better names at the time. 😅
Why is everyone on Codewars allergic to naming variables? What's
f
? What'sff
? What doesx
mean? It's so annoying!Lol, I tried my best to have the shortest answer possible and I almost went with this solution...
Loading more items...