camLine Interview Question

How can you loop through a list?