Collect things

Idea

Going through a list

Put a list after for, and the lines run once for every item in it.

for p in ["cat", "dog"]:
    print(p)
gives
cat
dog

Builds on

Practise this