<｜begin▁of▁sentence｜>### Instruction:
Given a tree with the edges [(0, 3), (1, 3), (2, 3), (3, 4), (4, 5)], what is its corresponding Prüfer sequence?
### Response:
import networkx as nx

# Create a tree graph with edges
edges = [(0, 3), (1, 3), (2, 3), (3, 4), (4, 5)]
tree = nx.Graph(edges)

# Use the to_prufer_sequence API to convert the tree to its Prüfer sequence
prufer_sequence = nx.to_prufer_sequence(tree)

# Output the Prüfer sequence
print('Prüfer sequence:', prufer_sequence)
<|EOT|>
