Ad
  • Default User Avatar

    Please fix this Kata

  • Default User Avatar

    Yes, second sentence fixes the unnecessary addition of the first one.

  • Custom User Avatar

    Yeah, but step 6 also says "Remove all except first letter and 3 digits after it"

    So C60000 --> C600

  • Default User Avatar

    Step 6 is misleading or wrong (I see that it is copied from Wiki).

    "Append 3 zeros if result contains less than 3 digits."

    If you did that "C60" would become "C60000". It should be "Append zeros until result contains at least 3 digits".