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.
Kata says function "takes a list of non-negative integers and strings"
Description should be language-agnostic
Does not mention about the type of inputs given. IMO, input should be of the same type (either numbers or strings) to acheive more consistent test generation
it should be non-negative...
This comment is hidden because it contains spoiler information about the solution
since no reply from issuer..resolving
Python:
Needs randomized tests.This comment is hidden because it contains spoiler information about the solution
Thanks, I must not have noticed this :)
"a list of non-negative integers and strings" states clearly that this list can only contain non-negative integers or strings, nothing else :)
What if one of the elements is a float or boolean?
Language? Which ones? When raising an issue be as descriptive as possible, please.
Some of test case was wrong.
Use
math.ceil
.0.999 + 0.00001
is0.99901
, Not1.xxx
.I have the code working but it just won't accept it. It keeps saying 'set([1])' should equal set([1])' what do I do?
This is a terrible, terrible kata.
The output won't even show print statements.
The instructions are poorly written.
Loading more items...