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

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

  • Custom User Avatar

    Hi!

    There is something that i dont understand. For example, factorial of 12 why is divisible by 2 10 times??!!?? i try to solving calculating the factorial of 12 and dividing by 12 but the result is really big, and dividing 12 by 2 is 6...

    Could someone help me?

    Thanks in advance!

    "since 12! is divisible by 2 ten times, by 3 five times, by 5 two times and by 7 and 11 only once.""

  • Custom User Avatar

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

  • Custom User Avatar

    Okay i tried a different way sorting instead of deleting. But i still dont understanding why the result is an empty list, because i always copy the elements before deleting, and copying de input and runing in jupyter for example the result is correct (for example when the input is [1,1,1,1,] the return in jupyter is the same [1,1,1,1] but in the compiler of codewars is an empty list)

    Thanks for the explanation and your time!

  • Custom User Avatar

    Yes I delete the input list but before I added the integer in a new list "lista_final" , and that list is the return of the function

    Thanks in advance!

  • 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

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