<｜begin▁of▁sentence｜>### Instruction:
Given a graph with 4 vertices and edges between [(0, 1), (1, 2), (2, 3)], how do you write its edge list to a text file using the write_edgelist function in igraph?
### Response:
from igraph import Graph

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

# Write the edge list to a file
g.write_edgelist('output_edge_list.txt')
<|EOT|>
