<｜begin▁of▁sentence｜>### Instruction:
Given a simple undirected graph consisting of three nodes 'A', 'B', and 'C' with edges connecting each pair, can you use NetworkX and Matplotlib to draw the graph and display it with labels for each node?
### Response:
import networkx as nx
import matplotlib.pyplot as plt

# Create a NetworkX graph
G = nx.Graph()
G.add_edge('A', 'B')
G.add_edge('B', 'C')
G.add_edge('C', 'A')

# Draw the graph
nx.draw(G, with_labels=True)

# Show the plot
plt.show()
<|EOT|>
