<｜begin▁of▁sentence｜>### Instruction:
Sure! Let's say you are working on designing secure communication protocols for a network of computers. You have a graph representing the connections between these computers. Using the igraph library, you want to retrieve the neighbors of a specific computer in the network, let's call it Computer 1. Can you use the `neighbors()` method of the vertex class in igraph to list the neighbors of Computer 1 based on the graph structure you have?
### Response:
from igraph import Graph

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

# Get the neighbors of vertex 1
vertex_index = 1
neighbors = g.vs[vertex_index].neighbors()

# Print the indices of the neighboring vertices
print([v.index for v in neighbors])
<|EOT|>
