<｜begin▁of▁sentence｜>### Instruction:
Given a graph with 5 vertices and edges set [(0, 1), (1, 2), (2, 3), (3, 4)], can you help me compute and print the edges of its line graph using igraph's linegraph function?
### Response:
from igraph import Graph

# Create a graph with 5 vertices and 4 edges
edges = [(0, 1), (1, 2), (2, 3), (3, 4)]
g = Graph(edges=edges)

# Compute the line graph
line_g = g.linegraph()

# Print the edges of the line graph
print(line_g.get_edgelist())
<|EOT|>
