<｜begin▁of▁sentence｜>### Instruction:
Given a randomly generated Erdős-Rényi graph with 10 vertices and a connection probability of 0.5, calculate the maximum cohesion score for vertex 0 using the `CohesiveBlocks` class in `igraph`. What is the cohesion score?
### Response:
from igraph import Graph
from igraph import CohesiveBlocks

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

# Initialize CohesiveBlocks object
cb = CohesiveBlocks(g)

# Find the cohesive blocks
cb.calculate_blocks()

# Find the maximum cohesion score for a given vertex, e.g., vertex 0
max_cohesion_score = cb.max_cohesion(0)

print(f'Maximum Cohesion Score for vertex 0: {max_cohesion_score}')
<|EOT|>
