<｜begin▁of▁sentence｜>### Instruction:
Given an undirected graph with 100 nodes and 200 edges generated using the Erdős-Rényi model, can you calculate and print the average path length of the graph?
### Response:
from igraph import Graph

# Create an undirected graph
g = Graph.Erdos_Renyi(n=100, m=200, directed=False)

# Calculate the average path length
avg_path_length = g.average_path_length()
print('Average path length:', avg_path_length)
<|EOT|>
