<｜begin▁of▁sentence｜>### Instruction:
Given a dimension of 4, can you generate the 4-dimensional hypercube graph using NetworkX, and print out its edges?
### Response:
import networkx as nx

# Create a hypercube graph of dimension 4
H = nx.hypercube_graph(4)

# Print the edges of the hypercube graph
print(list(H.edges()))
<|EOT|>
