Ad
  • Custom User Avatar

    The additional examples definitely make it clearer, yes! I would maybe consider adding some sort of explanation as a comment next to the examples, but if you think additional explanation will make the solution too obvious, then the changes you have made are sufficient. After all, figuring out what the examples mean is basically 100% of what makes this kata challenging...

  • Custom User Avatar

    I found the last test--"For decimal numbers, return true only if the number is equal to its integer part and the integer part is odd."--quite confusing. Maybe give some very specific examples: "7.3" would be false because it is not exactly equal to its integer part ("7"), whereas "7.0" would be true because it is exactly equal to its integer part ("7"). This sort of clarification would have saved me from vastly overthinking this kata.