Ad
  • Custom User Avatar

    Running into the following stderr today (after issue in my post furter down was reported to be solved):

    Traceback (most recent call last):
    File "main.py", line 4, in
    pg = Playground()
    TypeError: init() missing 1 required positional argument: 'player_strat'

    Is there still something missing?

  • Default User Avatar

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

  • Default User Avatar

    Nice nice. Only needed a little bit of extra code compared to the 6x6, to crack the medved puzzle.
    1500 ms run time for the 11 tests.
    My first 1 kyu kata!
    Bring on the 8x8 !

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    Is this really a 6 kyu problem?
    With normal multiplications I get several second execution times from n=17 or so.
    I am trying to find a mathematical expression to express Pn wo calculating all P up to n, and that is for sure not a 6 kyu math problem...

  • Default User Avatar

    Thanks for this kata. First time ever I use classes (I am just a hobbyist relearning to code).
    This was really a nice introduction for me. Thanks also to Trevor Pain for his youtube tutorials (basics #8 of 8, classes) !

  • Default User Avatar

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

  • Default User Avatar

    I started with python a month ago. There was a series with 'array series' in the title that was very helpful for me.
    And from the same author, a 'special number series', which is slightly more advanced.

  • Default User Avatar

    Just finished my first 2kyu kata. Got me ranked up to 3 kyu. Pretty happy about that.
    But what was really satisfying is that it go me to exactly rank 7000 on the leaderboard, and 3.00% honor percentile!

    Rank:3 kyu
    Honor:1,209
    Leaderboard Position:#7,000
    Honor Percentile:Top 3.00%
    Total Completed Kata:79

    https://imgur.com/gallery/ZspbROU

  • Custom User Avatar

    trying to run this kata on python.
    But run into the sdterr pasted below.
    I noticed only now this kata stopped working some time back (comment by Blind4Basics in this thread).
    Has it never been fixed??
    Really was looking forward to see how my strategy would work out...

    STDERR
    Traceback (most recent call last):
    File "main.py", line 8, in
    pg.nextLeg()
    File "/home/codewarrior/setup.py", line 23, in nextLeg
    self.play(True)
    File "/home/codewarrior/setup.py", line 36, in play
    x, y = get_coordinates(score)
    NameError: name 'get_coordinates' is not defined

  • Default User Avatar

    if the number of elements in the list is even, the median is the average of the center two elements.

  • Default User Avatar

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