Ad
  • Custom User Avatar

    All inputs will be valid.

    this is useless information, it should instead say what the input will look like (or say nothing if that's already implied)

  • Custom User Avatar

    Description should be language-agnostic. The example block should be replaced with something more generalized since the property of Player can only be name / Name in all of the languages, so there's no need to include the function name

  • Custom User Avatar

    Cool kata, but the Python instructions could use some clarity improvements

    Thanks for sharing

  • Custom User Avatar

    "unique array of positive numbers."
    this is incorrect, what is meant is:
    "array of unique positive numbers.

  • Custom User Avatar

    This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/176.
    Please join the discussion to help us identify duplicate kata and retire them.

  • Custom User Avatar

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

  • Custom User Avatar
    • JS Node 18. should be enabled

    • Ruby 3.0 should be enabled

  • Custom User Avatar

    I don't understand, I can only pass all the cases on the attempt if I return a leaderboard with size 501 but I get an out of bounds error with size 500. How do I return a list of size 500 with 500 objects but the indexes have to start at 1?

    Also, Im getting this error:

    The code that caused this warning is on line 52 of the file main.py. To get rid of this warning, change code that looks like this:

    BeautifulSoup(YOUR_MARKUP})

    to this:

    BeautifulSoup(YOUR_MARKUP, "html.parser")

    markup_type=markup_type))

    my code looks like this: soup = BeautifulSoup(page.content, "html.parser")
    why is that wrong?

    Thanks

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    How can I handle the 1-based indexing? The second element of the position list has to be the first on the leaderboard, and the 500th element must be the 501st on the list but there can only be 500 in the list? I don't see any way around this