Ad
  • Custom User Avatar

    Thanks for the kata, I learned a whole new topic and for the first time I hear about Polish notation. Interesting to know.

  • Custom User Avatar

    While the only issue here was that you do not expect any code, just "STRANGE_STRING= ....".

    Can you find a string that satisfies this criteria?

    You should just set the value of STRANGE_STRING to meet the previous criteria.

    Python initial code:

    STRANGE_STRING = 'foo'
    

    What is not clear there? You can argue about not having to write a function and code like in almost every other kata, but what you should do is written in the description.

  • Custom User Avatar

    While critique of descriptions is a fair thing, I would sincerely recommend adjusting your general attitude a little bit.

  • Custom User Avatar

    Please adjust the description so it is clear what exactly is expected to be a code for testing. I spent (as many other solvers here) many more minutes figuring out what is wrong with the code. While the only issue here was that you do not expect any code, just "STRANGE_STRING= ....".

    Not fair, really. Description level almost as bad as daspreuße's. He is the kind of bad kata description. You may be his heir soon.

  • Custom User Avatar

    vaaaaaaaax! Don't I recognize you, whatt47? It seems like you leave a stream of havoc wherever you go.

  • Custom User Avatar

    Could you elaborate on the "expects us to hardcode wrong practices" part?

  • Custom User Avatar

    @daspreuße, man... Your katas are so badly broken. You are messy while writing instructions, your testing fails all over and specs for intended types are unclear, too. This particular kata expects us to hardcode wrong practices. I see no point doing these.

    So many times I found you just copy things all over without any review or thorough revision what did you actually wrote.

    From this very moment on I avoid your katas for good. It's not worth the time.

  • Custom User Avatar

    There is a mistake in the description: "Thus, the expected value of a random element from the matrix is 3.". Should be "473/6" instead of "3"

  • Custom User Avatar
  • Custom User Avatar

    There's an issue with the description. The input is defined as "Two integers r and c representing the number of rows and columns of the matrix, respectively" but, in the provided example, an input of "11 5" somehow expects the calculation of a 12x6 matrix.

  • Custom User Avatar

    is far beyond the beginner's knowledge of Python

    If you can't take the cocktail, maybe you should stick to lemonade.. Just remember, every great mixologist started with a simple recipe!

    Pokud nezvládáte koktejl, možná byste se měli držet limonády. Jen nezapomeňte, že každý skvělý barman začínal s jednoduchým receptem!

    Btw, 6 kyu is no longer beginner level.

  • Custom User Avatar

    "fraction of sum of items / number of items" is literally the definition of the expected value of a random variable :) More or less.

  • Custom User Avatar

    Definitely not the kata for 6 kyu. The amount of optimization it needs in order to run effectively is far beyond the beginner's knowledge of Python.
    And forgive if I am wrong, english is not my native language. But I find the description for the task quite misleading. The goal in the end is to return a fraction of sum of items / number of items, not to estimate"the expected value of a random element from the matrix".

  • Custom User Avatar

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

  • Custom User Avatar

    It is not an issue, this is how Codewars works.

  • Loading more items...