• This is not a kata issue but a lack of understanding from you. As says huskyWorkingType, you are asked to raise a ValueError in case the value is not in the expected range, not to except anything :)
    This has been pointed out many times in the discussion...

  • This comment is hidden because it contains spoiler information about the solution

  • Python: except ValueError decision doesn't work for this kata, why? Any clear instructions?

  • Your function should only return True or False.

    ValueError: invalid literal for int() with base 10: ''

    The error tells you your code is tryng to convert an empty string into a number

  • This comment is hidden because it contains spoiler information about the solution