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.
yes the codes are much but not that complicated.
How do I manage the testNullArg? I think I set both length 0 and null arg but apparently I didn't... What's the code for that? I'm missing something here :/
The test is correct and also if length is zero, that's the only part I can't do
not simple enough
too easy.
I like the way you write the code, simple and easy.
I think it shouldn't have this much codes!
its too complicated.
it worked, thaks =)
Don't use
input()
Make your code end correctly.
How do i deal whit this?
'EOFError: EOF when reading a line'
This comment is hidden because it contains spoiler information about the solution
but when I click on test it shows: You have passed all of the tests!
first error show up when I click on attempt button.
I confused finallt its write or wrong :|
We're not making arsenals here, we must write a program to do a task. Input validation has been done in many old katas and is now considered a bad practice for the reason I mentionned. Checking the input is a negative number is 8 kyu kata level. It's of course interesting to know how to do that, but mixing this with a totally independent task like finding multiples of a number doesn't bring any value, in real context it'd be better to handle input validation separately from the main algorithm.
honestly i disagree, error checking should be part of any programmer's arsenal, this exactly how security bugs are found. and the lack of such a check has resulted in almost all answers not relating to such a case.
Most languages already do. And better for those that don't, since it doesn't bring any value to the task.
Loading more items...