<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edges [(0, 1), (1, 2), (1, 3), (2, 4), (3, 4)], can you use the get_all_simple_paths function in igraph to calculate all the simple paths from vertex 0 to all other vertices?
### Response:
from igraph import Graph
import igraph as ig

g = ig.Graph(edges=[(0, 1), (1, 2), (1, 3), (2, 4), (3, 4)])

# Get all simple paths from vertex 0 to all other vertices
each_path = g.get_all_simple_paths(v=0, cutoff=-1)

# Print the paths
for path in each_path:
    print(path)
<|EOT|>
