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 hard to remember all the symbols that are in the global namespace when you name things. in this particular case, not only it does not affect the user's code, but
input()
would never be used on Codewars anyways. But fine, renamed toinpt
Except shadowing the built-in function
input
, it seems okay.done here
Not in this kata.
Is it possible to have more than one
K
?Fixed by fork above
Exellent solution!!Nice code.
Python sample test
I think the author should either increase maximum recursion depth or find an alternative way to implement
make_sequence
, for example, use a while loop.Superceded by latest fork :(
Fixed in latest fork
Added in latest fork
'All triangles will be right isoceles.' from the Kata description.
Nice extension to a general scenario though.
Added in latest fork
Loading more items...