<｜begin▁of▁sentence｜>### Instruction:
Given a Prüfer sequence [3, 3, 3, 4], can you generate the corresponding tree and print its edge list?
### Response:
from igraph import Graph

# Define the Prüfer sequence for a tree
prufer_sequence = [3, 3, 3, 4]

# Generate the tree from the Prüfer sequence
prufer_tree = Graph.Prufer(sequence=prufer_sequence)

# Print the edge list of the generated tree
print(prufer_tree.get_edgelist())
<|EOT|>
