<｜begin▁of▁sentence｜>### Instruction:
Given a simple pentagon-shaped graph with 5 vertices and 5 edges, how can you randomly rewire its edges with a 10% probability for each edge, potentially modifying the structure of the graph?
### Response:
import igraph as ig

# Create a simple graph with 5 vertices
graph = ig.Graph(edges=[(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)])

# Rewire the edges with a probability of 0.1
graph.rewire_edges(prob=0.1)

# Print out the edges of the rewired graph
print(graph.get_edgelist())
<|EOT|>
