<｜begin▁of▁sentence｜>### Instruction:
As a real estate agent, you may need to determine the level of interest in a property from potential buyers. In this scenario, you can think of the directed graph as representing different properties, with edges indicating the level of interest shown by buyers. To find the number of potential buyers interested in a specific property (vertex), you can use the outdegree method from the igraph Vertex class to identify the number of edges leaving that particular property vertex, providing valuable insights into the demand for the property.
### Response:
from igraph import Graph

# Create a graph with some directed edges
g = Graph(directed=True)
g.add_vertices(3)
g.add_edges([(0, 1), (0, 2), (1, 2)])

# Get the outdegree of vertex 0
vertex_index = 0
vertex_outdegree = g.vs[vertex_index].outdegree()

print(f'Outdegree of vertex {vertex_index}: {vertex_outdegree}')
<|EOT|>
