loops - basic for loop with range definition in a list