<｜begin▁of▁sentence｜>### Instruction:
Given a cycle graph (C5) with nodes labeled from 0 to 4, what would the resulting graph look like if we contract the edge between node 0 and node 1 without allowing self-loops, and ensure the contraction does not modify the original graph?
### Response:
import networkx as nx

# Create a cycle graph
G = nx.cycle_graph(5)

# Specify the edge you want to contract
edge_to_contract = (0, 1)

# Contract the edge without allowing self-loops and without modifying the original graph
H = nx.contracted_edge(G, edge_to_contract, self_loops=False)

# Check if the contracted graph is isomorphic to the cycle graph with one less node
is_isomorphic = nx.is_isomorphic(H, nx.cycle_graph(4))
print('Is the contracted graph isomorphic to C4? ', is_isomorphic)
<|EOT|>
