<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with edge set [('A', 'B'), ('A', 'C'), ('B', 'C')], how can you retrieve and display its directed edges using NetworkX?
### Response:
import networkx as nx

# Create a directed graph
dg = nx.DiGraph()

# Add edges
dg.add_edge('A', 'B')
dg.add_edge('A', 'C')
dg.add_edge('B', 'C')

# Function to show directed edges
def show_diedges(graph):
    return list(graph.edges())

# Show directed edges
edges = show_diedges(dg)
print('Directed edges:', edges)
<|EOT|>
