<｜begin▁of▁sentence｜>### Instruction:
Given a simple undirected graph with edges [(0, 1), (1, 2), (2, 3), (3, 4)], can you use Graph.Graph.write_ncol function in igraph to write the edge list of the graph to a file in .ncol format?
### Response:
import igraph as ig

# Create a simple graph
g = ig.Graph(edges=[(0, 1), (1, 2), (2, 3), (3, 4)])

# Write the graph's edge list to a file in .ncol format
g.write_ncol('graph_edges.ncol')
<|EOT|>
