Suppose there is a list with edges (L1): [{3,5},{4,3},{4,6},{3,2},{2,6}] and a list with vertices (L2): [1,5,4].
I would like to get a true-statement when a number of L2 appears in one of the edges of L1.
I tried the following:
for i in L1 do
ME:=member(i,L2):
print(ME):
od:
This only gives false-statements. Could anyone help me?