<｜begin▁of▁sentence｜>### Instruction:
Given an expected number of 10 nodes in the backbone, with the probabilities of 0.5 for adding an edge to the backbone and 0.1 for adding an edge one level beyond the backbone, can you generate a random lobster graph using NetworkX?
### Response:
import networkx as nx

# Generate a random lobster graph
lobster_graph = nx.random_lobster(n=10, p1=0.5, p2=0.1, seed=42)

# Draw the graph
import matplotlib.pyplot as plt
nx.draw(lobster_graph, with_labels=True)
plt.show()
<|EOT|>
