<｜begin▁of▁sentence｜>### Instruction:
Given a requirement to create and visualize a cycle graph with 5 nodes, how would one use NetworkX to construct and draw such a graph?
### Response:
import networkx as nx

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

# Draw the graph
import matplotlib.pyplot as plt
nx.draw(C, with_labels=True)
plt.show()
<|EOT|>
