<｜begin▁of▁sentence｜>### Instruction:
As a laboratory technician working in a research facility, you have been tasked with using the CohesiveBlocks class from the networkx library to determine the cohesion values for each group in the graph representing the results of an experiment. Once you have calculated these values, you should print them for further analysis and interpretation by the researchers and scientists involved in the project.
### Response:
from igraph import Graph, CohesiveBlocks

# Assuming 'g' is a graph object
blocks = CohesiveBlocks(g)
blocks = blocks.decompose()
cohesions = blocks.cohesions()

print(cohesions)
<|EOT|>
