Ad
  • Custom User Avatar

    The description does not specify how the following case is to be handled: (() (this is a minimally reduced example, there could be arbitrary characters around and between). Which of the parentheses is to be considered matched by the single closing paren?
    I'd consider this a borderline Issue, because I can't finalize my logic without this knowledge, and I personally detest having to write experimental implementations just to figure out the spec by running it against the test suite (and then have to revise my code).

  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

    I've implemented my solution with Python and the function returns a list which has passed all tests, however, each "floor" of the tower is displayed in the same line when I run this function.

    How can I adjust the code so that each floor (list item) gets displayed in a separate line, while still returning a function (rather than turning a list into a string consisting of line items)?

  • Custom User Avatar
    • There's nothing new in this task
    • Making something "built-in" is nonsensical and version-dependent, i.e. here it resulted in Python 3.6 being unavailable (hence requirement was removed)
    • No random tests
    • In Python 3.8 a product function was added, and as soon as it becomes available on CW, this kata becomes obsolete
  • Custom User Avatar

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