<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with edge set (0, 1), (0, 2), (1, 3), (2, 3), (3, 4), can you use the outdegree function in igraph to get the out-degrees of all vertices?
### Response:
from igraph import Graph

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

# Get the out-degrees of all vertices
out_degrees = g.outdegree()

# Print the out-degrees
print(out_degrees)
<|EOT|>
