<｜begin▁of▁sentence｜>### Instruction:
Given a cycle graph with 5 nodes, can you calculate and display the chromatic polynomial using NetworkX?
### Response:
import networkx as nx
from networkx.algorithms.graph_coloring import chromatic_polynomial

# Create a cycle graph with 5 nodes
C = nx.cycle_graph(5)

# Calculate the chromatic polynomial of the cycle graph
p = chromatic_polynomial(C)

# Print the chromatic polynomial
print(p)
<|EOT|>
