<｜begin▁of▁sentence｜>### Instruction:
The given example Python code computes the average node connectivity of a graph with edge set [(1, 2), (1, 3), (2, 3), (2, 4), (3, 4)]. What is the average node connectivity of this graph?
### Response:
import networkx as nx

# Create a graph
G = nx.Graph()
G.add_edges_from([(1, 2), (1, 3), (2, 3), (2, 4), (3, 4)])

# Calculate average node connectivity
avg_connectivity = nx.average_node_connectivity(G)

print('Average node connectivity:', avg_connectivity)
<|EOT|>
