<｜begin▁of▁sentence｜>### Instruction:
Given that we need to create a Harary graph with node connectivity 2 and the graph is to contain 5 nodes, how can we generate and print the edges of this graph using NetworkX?
### Response:
import networkx as nx

# Create a Harary graph with node connectivity k and node number n
k = 2
n = 5
H = nx.hkn_harary_graph(k, n)

# Print the edges of the Harary graph
print('Edges of the Harary graph:', list(H.edges()))
<|EOT|>
