Ad
  • Custom User Avatar

    See the example in the description and you'll find out what you're doing wrong there. The test is fine.

  • Default User Avatar

    You may want to play around with Math.ceil and Math.floor ........

  • Custom User Avatar

    I meant that players list isn't [1, 2, 3], but [object 1, object 2, object 3], so [0] returns an object/class (the preloaded thing). This object has property .name.

    Don't change function parameters, but what you do with the result.

  • Custom User Avatar

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

  • Custom User Avatar

    That test looks for ** in your code, False means it was, True, it wasn't.

  • Custom User Avatar

    Note: math.pow and some others math functions are disabled on final tests.

    You can't use ** in your code, as the error message says.