<｜begin▁of▁sentence｜>### Instruction:
Given two undirected graphs, Graph 1 with 5 vertices and 5 edges and Graph 2 with 5 vertices and 3 edges (which is a subgraph of Graph 1), how do you compute and display the difference between Graph 1 and Graph 2 as a set of edges using the 'difference' method in igraph?
### Response:
from igraph import Graph

# Create Graph 1
graph1 = Graph.Erdos_Renyi(n=5, m=5, directed=False)

# Create Graph 2 which is a subgraph of Graph 1
graph2 = Graph.Erdos_Renyi(n=5, m=3, directed=False)

# Subtract Graph 2 from Graph 1 using the `difference` method
diff_graph = graph1.difference(graph2)

# Print the edges of the resulting graph
diff_edges = diff_graph.get_edgelist()
for edge in diff_edges:
    print(edge)
<|EOT|>
