<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with the edge set [(0, 1), (1, 2), (2, 3)], how would you use the out_edges function to retrieve and print the out-edges of vertex 0?
### Response:
from igraph import Graph

# Create a simple directed graph
g = Graph(edges=[(0, 1), (1, 2), (2, 3)], directed=True)

# Get the out-edges of vertex 0
vertex_id = 0
out_edges = g.vs[vertex_id].out_edges()

# Print out the out-edges of vertex 0
for edge in out_edges:
    print(edge.tuple)
<|EOT|>
