<｜begin▁of▁sentence｜>### Instruction:
Given an empty undirected graph, how would you add edges [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)] to create a pentagon shape? The graph has 5 vertices which are enumerated from 0.
### Response:
import igraph as ig

# Create an empty, undirected graph
g = ig.Graph()

# Add vertices
g.add_vertices(5)

# Add edges with tuples (vertex IDs start from 0)
edges_to_add = [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)]
g.add_edges(edges_to_add)

# Print the summary of the graph
g.summary()
<|EOT|>
