Ad
  • Custom User Avatar

    A few issues off the top of my head:

    • The task itself is underspecified - what is meant by "input value have boolean representation"? At first I thought it was any value x that converting to a boolean by bool(x) does not raise an exception, but it turns out to be completely arbitrary and not backed by any particular Python language feature
    • Missing edge cases, e.g. empty list
    • Missing random tests, i.e. fuzz testing

    Please refer to Creating your first Kata for a comprehensive guide on how to author a high-quality, novel, interesting Kata.