<｜begin▁of▁sentence｜>### Instruction:
Given an integer '5' and an iterable container of nodes 'XYZ', how to create two separate empty graphs, one with 5 nodes and another with nodes 'X', 'Y', 'Z' using NetworkX, and how to check their number of nodes and edges?
### Response:
import networkx as nx

# Create an empty graph with 5 nodes
G = nx.empty_graph(5)

# Check the number of nodes and edges
print('Number of nodes:', G.number_of_nodes())
print('Number of edges:', G.number_of_edges())

# Create an empty graph using an iterable container of nodes
H = nx.empty_graph('XYZ')
print('Nodes in H:', H.nodes())
<|EOT|>
