How to get vertices from Vertex Group by its name

To get a list of vertices from the vertex group by its name we can use the following code: