List derivation

List comprehensions are lightweight loops that create lists

1. Basic approach



2. Use if throughout the loop



3. Two for loops



4. Three for loops