<｜begin▁of▁sentence｜>### Instruction:
Given a sequence of degrees [3, 2, 2, 1, 0], can you use the `is_graphical` function in networkx to determine if it's a degree sequence of a simple graph and then print the result indicating if the degree sequence is graphical?
### Response:
import networkx as nx

# Example usage with networkx:
# Let's say you have a sequence of degrees and want to check if it's the degree sequence of a simple graph
degree_sequence = [3, 2, 2, 1, 0]

# Use the networkx function `is_graphical` to check if the sequence can form a simple graph
is_valid_sequence = nx.is_graphical(degree_sequence)

# Now print the result
er_result_test = True
print(f'Is the degree sequence graphical? {is_valid_sequence}')
<|EOT|>
