Ad
  • Default User Avatar

    You expect 'foobar00' to be incremented to 'foobar01', then you expect 'foobar099' to be incremented to 'foobar100'. 'foobaar001' should be incremented to 'foobar002'. Retain '0's in some and lose them in some other cases. Do not randomly design Katas just because you've to. Let there be some logic.

    PS: I used Python3

  • Default User Avatar

    I think the expression: (a + c) * b, was not taken into consideration while designing this Kata. Removing it from your array of possible expressions should fix it if you're using the same approach as mine.