<｜begin▁of▁sentence｜>### Instruction:
{'Description': "Given a graph with edge set [('A', 'B'), ('B', 'C'), ('A', 'C')], how can you list all the edges in the graph using NetworkX?", 'Field List': {'G': 'A NetworkX graph'}, 'Rubrics': {'Functionality': "Prints each edge in the graph [('A', 'B'), ('B', 'C'), ('A', 'C')].", 'Use case': 'To list or iterate over all the edges of a graph using NetworkX.'}}
### Response:
import networkx as nx

# Create a graph
G = nx.Graph()
G.add_edges_from([('A', 'B'), ('B', 'C'), ('A', 'C')])

# Show edges of the graph
for edge in nx.show_edges(G):
    print(edge)
<|EOT|>
