<｜begin▁of▁sentence｜>### Instruction:
As a grant writer, you would typically need to work with various data attributes within your proposals. For instance, you may have a network graph representing the connections between different organizations and their funding sources. In this context, you might need to retrieve and print the list of attributes associated with each vertex in the graph to ensure that all relevant information is included in your funding proposals.
### Response:
from igraph import Graph

# Create a graph with some vertex attributes
g = Graph(edges=[(0, 1), (1, 2), (2, 3)])
g.vs['label'] = ['A', 'B', 'C', 'D']
g.vs['color'] = ['red', 'green', 'blue', 'purple']

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

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