<｜begin▁of▁sentence｜>### Instruction:
Given a barbell graph created with 'nx.barbell_graph(5, 0)', where 5 specifies the number of nodes in each of the two complete graphs connected by a single edge (the bridge), what are the bridge-connected components or 2-edge-connected components of the graph?
### Response:
import networkx as nx
from networkx.algorithms.connectivity import bridge_components

G = nx.barbell_graph(5, 0)
components = list(bridge_components(G))
print(sorted(map(sorted, components)))
<|EOT|>
