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
Idea
Put a list after for, and the lines run once for every item in it.
for p in ["cat", "dog"]:
print(p)
cat dog