<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with vertices [0, 1, 2, 3, 4] and edge set [(0, 1), (0, 2), (1, 3), (2, 3), (3, 4)], can you use the Vertex.out_edges function in igraph to find and print the outgoing edges from vertex 0?
### Response:
import igraph as ig

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

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

# Print the out-edges
print([(e.source, e.target) for e in out_edges])
<|EOT|>
