<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edge set [(1, 2), (1, 3), (2, 3), (3, 4), (3, 5)], how can you use NetworkX to find the edges of the complement of this graph, assuming it has nodes 1 through 5?
### Response:
import networkx as nx

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

# Get the complement of the graph
G_complement = nx.complement(G)

# Print the edges of the complement graph
print('Edges of the complemented graph:', G_complement.edges())
<|EOT|>
