How to get vector of tuples from the vector of tuples using certain conditions?

julia> A[A_c]
3-element Vector{Tuple{Int64, Int64}}:
 (1, 2)
 (3, 2)
 (3, 2)
1 Like