Horje
prolog check if element in different lists are same Code Example
[Solved] - prolog check if element in different lists are same Code Example
Try following codes
prolog check if element in different lists are same
common_list([X],[X]).
common_list([X|Tail],Y):- member(X,Y).
common_list([X|Tail],Y):- common_list(Tail,Y).
Date: 2022-05-21 05:02:10
Category: typescript
More for You