<｜begin▁of▁sentence｜>### Instruction:
Given a lollipop graph with 4 nodes in a complete graph and a path of length 3 attached to it, how can you generate and print the multiline adjacency list format of the graph using NetworkX?
### Response:
import networkx as nx

# Create a lollipop graph
G = nx.lollipop_graph(4, 3)

# Generate a single line of the graph G in multiline adjacency list format
for line in nx.generate_multiline_adjlist(G):
    print(line)
<|EOT|>
