I´ve made some attempts with loops but the biggest problem that I´ve found it´s to create incremental lists. To say, lists that add a new element on each frame.
Other thing could help could be also a list made of lists, as far as the positions from each particle are particle list and you need to create a new list with all those lists of positions to create the animation.