Ad
  • Custom User Avatar

    That's right. I should replace the < operator with <=

  • Custom User Avatar

    Your also mistaken, it does include yourPoints.

  • Custom User Avatar

    Does it pass the test? Yes. Good, that's what required.

  • Default User Avatar

    If n=0 then result is "-0.0" but should be "0".

  • Default User Avatar

    In the Kata description: """ Your points are not included in the array of your class's points. For calculating the average point you may add your point to the given array! """

    Your solution does not seem to include "your points". Also '.reduce' fails if the list is empty. '.fold()' handles that case.

  • Default User Avatar

    In the Kata description: """ Your points are not included in the array of your class's points. For calculating the average point you may add your point to the given array! """

    Your solution does not seem to include "your points". Also '.reduce' fails if the list is empty. '.fold()' handles that case.

  • Default User Avatar

    In the Kata description: """ Your points are not included in the array of your class's points. For calculating the average point you may add your point to the given array! """

    Your solution does not seem to include "your points". Also '.reduce' fails if the list is empty. '.fold()' handles that case.

  • Default User Avatar

    In the Kata description: """ Your points are not included in the array of your class's points. For calculating the average point you may add your point to the given array! """

    Your solution does not seem to include "your points". Also '.reduce' fails if the list is empty. '.fold()' handles that case.

  • Default User Avatar

    In the Kata description: """ Your points are not included in the array of your class's points. For calculating the average point you may add your point to the given array! """

    Your solution does not seem to include "your points".
    Also '.reduce' fails if the list is empty. '.fold()' handles that case.