<｜begin▁of▁sentence｜>### Instruction:
As a Video Game Designer, you might be working on creating the interactive gaming experience for a new adventure game. You are responsible for defining the rules, mechanics, and levels of the game to ensure it is engaging and immersive. Now, imagine that in the game's storyline, there is a scenario where the player needs to navigate through a network of interconnected locations represented by vertices and edges. One task you might encounter is to delete a specific location (vertex) from the network to create a dynamic gameplay experience. In the context of a network representation, you might use the igraph library to access the Vertex object's delete method to achieve this.
### Response:
from igraph import Graph
import igraph as ig

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

# Assume we want to delete vertex number 3
vertex_id_to_delete = 3

# Before deletion, list of edges
print('Edges before deletion:', g.get_edgelist())

# Getting the vertex based on its ID and deleting it
vertex_to_delete = g.vs[vertex_id_to_delete]
vertex_to_delete.delete()

# After deletion, list of edges
print('Edges after deletion:', g.get_edgelist())
<|EOT|>
