Ad
  • Custom User Avatar

    it's because your code is not efficient enough, i.e. it takes too much time to execute.
    in Python, "for" loops must be avoided as much as possible: use built-in functions or list comprehensions whenever possible