<｜begin▁of▁sentence｜>### Instruction:
Given a file 'test.adjlist' with a multi-line adjacency list format representing a graph, how can you read this file into a NetworkX graph and display its nodes and edges using the read_multiline_adjlist function?
### Response:
import networkx as nx

# Assuming you have a multi-line adjacency list formatted file named 'test.adjlist'
# Example content of 'test.adjlist':
# 1
# 2
# 3
#
# 2
# 1
# 3
#
# 3
# 1
# 2

# Read the multi-line adjacency list into a graph
G = nx.read_multiline_adjlist('test.adjlist', nodetype=int)

# Print the nodes and edges of the graph
print('Nodes:', list(G.nodes()))
print('Edges:', list(G.edges()))
<|EOT|>
