<｜begin▁of▁sentence｜>### Instruction:
As an adaptive technology specialist, you have been tasked with evaluating the modularity score of a communication network within a large organization. The network consists of 100 employees and 200 connections between them, with the employees divided into two equal-sized departments. Your objective is to calculate the modularity score of this network to assess the effectiveness of the community structure in facilitating smooth communication and collaboration between the two departments.
### Response:
from igraph import Graph

# Create graph instance
graph = Graph.Erdos_Renyi(n=100, m=200)

# Assuming we have a community structure in the form of a list
community_structure = [0] * 50 + [1] * 50

# Calculate modularity
modularity_score = graph.modularity(membership=community_structure, weights=None, resolution=1, directed=False)

print('Modularity Score:', modularity_score)
<|EOT|>
