<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edges (1, 2) and (4, 5), and additional nodes 3 and 6 that are not connected to any other nodes, detect the isolated nodes using NetworkX.
### Response:
import networkx as nx

# Create a graph
G = nx.Graph()

# Add edges and nodes
G.add_edges_from([(1, 2), (4, 5)])
G.add_nodes_from([3, 6])

# Find isolates
isolated_nodes = list(nx.isolates(G))

print('Isolated nodes:', isolated_nodes)
<|EOT|>
