<｜begin▁of▁sentence｜>### Instruction:
As an astrobiologist, imagine you are studying the potential for life on a distant exoplanet where the conditions for life are not yet well understood. To simulate the spatial distribution of habitable regions on this exoplanet's surface, you want to generate a random geometric graph representing points of interest. You would like to create a graph with 10 vertices, each with specific coordinates, and connect vertices within a radius of 0.2 units that might represent habitable locations.

After generating the random geometric graph, you will document the coordinates of the vertices and determine the number of edges to gain insight into the spatial connectivity of potential habitable regions on the exoplanet. This information could provide valuable clues about the likelihood of life existing in specific areas of the exoplanet.
### Response:
from igraph import Graph

# Generate a random geometric graph with 10 vertices
# and a connection radius of 0.2 on a 2D unit square.
# Vertices are connected if they are closer to each other than 0.2 units.
g = Graph.GRG(10, 0.2)

# Print the generated coordinates of the vertices
cords = [(v.index, v['x'], v['y']) for v in g.vs]
print(cords)

# Print the number of edges in the generated graph
print('Number of edges:', g.ecount())
<|EOT|>
