<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edge set [(0, 1), (0, 2), (1, 2), (1, 3)], how do you write this graph to a file in Pajek format using igraph?
### Response:
import igraph as ig

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

# Write the graph to a file in Pajek format
g.write_pajek('graph.net')
<|EOT|>
