<｜begin▁of▁sentence｜>### Instruction:
Given a sequence of expected degrees [10 for i in range(100)], generate a random graph with those expected degrees. What will be the number of nodes and edges, and does the graph have self-loops?
### Response:
import networkx as nx

# Define the expected degrees
expected_degrees = [10 for i in range(100)]

# Generate a random graph with the expected degrees
G = nx.expected_degree_graph(expected_degrees, seed=42)

# Print information about the created graph
print('Number of nodes:', G.number_of_nodes())
print('Number of edges:', G.number_of_edges())
print('Does the graph have self loops?', nx.number_of_selfloops(G) > 0)
<|EOT|>
