<｜begin▁of▁sentence｜>### Instruction:
You have a graph which is created by connecting a cycle of size 5 to a path of length 4. Can you generate this (5,4)-tadpole graph using NetworkX and visualize it?
### Response:
import networkx as nx

# Create a (m,n)-tadpole graph with a cycle of size m and a path of length n
m, n = 5, 4
G = nx.tadpole_graph(m, n)

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