Every team in teams plays every other team twice (home and away). List all fixtures as home and away, and check there are 12.
teams
home
away
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.