Ad
  • 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

    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

    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

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

  • Custom User Avatar

    perhaps there is an extra transition to the next line at the last iteration