Good kata. I think the description could be clearer about inputs, about how (in Python, at least) we're tested on strings and lists but nothing else.
Or maybe we could be tested on some other type, as an "otherwise" case.
EDIT: I guess that can be ignored, as seen in my most recent refactored solution, though it feels off.
Thanks autor for this kata. Learned a lot about currying and happy to guess one of the popular solution!
lmao
Loading collection data...
Good kata. I think the description could be clearer about inputs, about how (in Python, at least) we're tested on strings and lists but nothing else.
Or maybe we could be tested on some other type, as an "otherwise" case.
EDIT: I guess that can be ignored, as seen in my most recent refactored solution, though it feels off.
Thanks autor for this kata. Learned a lot about currying and happy to guess one of the popular solution!
lmao