<｜begin▁of▁sentence｜>### Instruction:
Given a cycle graph with 5 nodes (C5), if we contract the edge (0, 1) without allowing self-loops, is the resulting graph isomorphic to a cycle graph with 4 nodes (C4)?
### Response:
import networkx as nx

# Create a cycle graph with 5 nodes
C5 = nx.cycle_graph(5)

# Contract edge (0, 1) without allowing self-loops
M = nx.contracted_edge(C5, (0, 1), self_loops=False)

# Check if the contracted graph is isomorphic to a cycle graph with 4 nodes
C4 = nx.cycle_graph(4)
is_isomorphic = nx.is_isomorphic(M, C4)

print('The contracted graph is isomorphic to C4:', is_isomorphic)
<|EOT|>
