<｜begin▁of▁sentence｜>### Instruction:
A histologist at a research facility has been working on a project to analyze neural networks in the brain. They have been using a graph to represent the interconnected neurons, with each vertex in the graph having attributes such as 'neuron_type', 'firing_rate', and 'connectivity'. The histologist wants to use the igraph package to obtain and print out the list of attribute names associated with the vertices. They are interested in using the Vertex.attribute_names method in igraph to accomplish this task.
### Response:
from igraph import Graph

# Create an example graph with vertex attributes
g = Graph.Erdos_Renyi(n=10, m=15)
for v in g.vs:
    g.vs['label'] = 'vertex' + str(v.index)  # Assigning a label attribute to each vertex
    g.vs['weight'] = float(v.index) * 1.5  # Assigning a weight attribute to each vertex

# Retrieve the list of vertex attribute names
attribute_names = g.vs.attribute_names()

# Print the attribute names
print(attribute_names)
<|EOT|>
