<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edges [(1, 2), (2, 3), (3, 1), (3, 4)], can you use the get_edgelist function in igraph to retrieve the list of edges in the graph? Notes: You need to print the list of edges as a result.
### Response:
from igraph import Graph
# Create a graph with some edges
g = Graph(edges=[(1, 2), (2, 3), (3, 1), (3, 4)])
# Get the edge list of the graph
edge_list = g.get_edgelist()
print(edge_list)
<|EOT|>
