Your indentation was outright wrong. You should always use four spaces and absolutely no tabs. If you haven't already, I suggest reading PEP 8.

To address your problem, it always printed out the result of the last sequence because you wire directly assigning the result to L each time. So, every time the loop ran, the old result was forgotten. I fixed this by making L into a list, and appending the result each loop. That way, all the results are remembered.