<｜begin▁of▁sentence｜>### Instruction:
Given an empty graph, how do you add a path from node 0 to node 3 and from node 10 to node 12, with the latter path having a weight attribute of 7 using NetworkX?
### Response:
import networkx as nx

G = nx.Graph()
nx.add_path(G, [0, 1, 2, 3])
nx.add_path(G, [10, 11, 12], weight=7)
print(G.edges(data=True))
<|EOT|>
