<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edge set [(1, 2), (1, 3), (2, 4), (2, 5), (3, 5)], how can you visualize it using NetworkX's draw_networkx function?
### Response:
import networkx as nx
import matplotlib.pyplot as plt

# Create a graph
G = nx.Graph()
G.add_edges_from([(1, 2), (1, 3), (2, 4), (2, 5), (3, 5)])

# Draw the graph
nx.draw_networkx(G)

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