<｜begin▁of▁sentence｜>### Instruction:
Given a complete graph with 5 nodes, can you compute the transitivity of the graph using NetworkX?
### Response:
import networkx as nx

# Create a graph
G = nx.complete_graph(5)

# Compute the transitivity of the graph
transitivity = nx.transitivity(G)

print('Transitivity of the graph:', transitivity)
<|EOT|>
