<｜begin▁of▁sentence｜>### Instruction:
Given a barbell graph created with 'nx.barbell_graph(10, 0)', which represents two complete graphs K_10 connected by a single edge, can you list all the bridges using NetworkX?
### Response:
import networkx as nx

# Create a barbell graph with parameter zero, which has a single bridge
G = nx.barbell_graph(10, 0)

# Generate all bridges in the graph G
all_bridges = list(nx.bridges(G))

print('Bridges in the graph:', all_bridges)
<|EOT|>
