<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edge set [(0, 1), (0, 2), (1, 2), (1, 3), (3, 4)], how would you use the Vertex.delete method in igraph to delete vertex 3 and then list the updated set of edges?
### Response:
import igraph as ig

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

# Delete vertex 3 from the graph
g.vs[3].delete()

# Print the updated edge set
print(g.get_edgelist())
<|EOT|>
