I used the answer here: syntax for creating a dictionary into another dictionary in python as a base to what I used.
I, however, get a syntax error and can't see why.
player.image_dict = {( 0,2,0,0,0,0): {'idle' : itertools.cycle
[(pygame.image.load("images/egg_1.png"),
pygame.image.load("images/egg_2.png"),
pygame.image.load("images/egg_3.png")] },
( 2,4,0,0,2,5): {'idle' : itertools.cycle
([pygame.image.load("images/leaf_1.png"),
pygame.image.load("images/leaf_2.png"),
pygame.image.load("images/leaf_3.png"),
pygame.image.load("images/leaf_4.png")])}}
The syntax error refers to the line:
pygame.image.load("images/egg_3.png")] },