Select vertices with weight paint?

Hi, so today I began learning about how to create rigs and using weight paint, but I’m finding it really hard to select the right vertices

Is there a way to select vertices like in edit mode rather than having to “paint”?

Sorry if this is a stupid question, couldn’t word the question short enough to put in google

Select the vertex group
Select the vertices
Set the weight value you want
Press Assign to assign that weight to those selected vertices