<｜begin▁of▁sentence｜>### Instruction:
Given a graph with 10 nodes where each pair of nodes is connected with a probability of 0.5, can you use the '__iter__' method of the Clustering class in igraph to iterate over and print the clusters obtained from community detection?
### Response:
from igraph import Graph, Clustering

# Create an example graph
g = Graph.Erdos_Renyi(n=10, p=0.5)

# Perform a community detection to get a Clustering object
clustering = g.community_multilevel()

# Iterate over the clusters and print them
for cluster in clustering:
    print(cluster)
<|EOT|>
