<｜begin▁of▁sentence｜>### Instruction:
Alright, little ones, let's imagine we have a circle of four friends holding hands to form a ring, like when we play "Ring Around the Rosie." Now, each of these friends wants to wear a shirt, but they don't want to wear the same color shirt as the friend holding their hand. 

Can we think about how many different ways they can pick their shirt colors if we have a whole rainbow to choose from? We're going to use a magical tool named NetworkX to figure this out, and it's like a special coloring book that can help us find all the possible color combinations for our friends' shirts! Isn't that exciting? Let's see how we can do that together.
### Response:
import networkx as nx
from networkx.algorithms.graph_coloring import chromatic_polynomial

G = nx.cycle_graph(4)
poly = chromatic_polynomial(G)

print(poly)
<|EOT|>
