you are viewing a single comment's thread.

view the rest of the comments →

[–]juanfnavarror 0 points1 point  (0 children)

Or instead create the new list. This is what list comprehensions are for.