I have the following snippet of prolog code: num(0). num(X) :- num(X1), X is X1 + 1. fact(0,1) :-!. fact(X,Y) :- X1 is X-1, fact(X1,Y1), !, Y is Y1 * X.
I wanted to write a Prolog program to find equality of two lists, where the order of elements doesn\'t matter. So I wrote the following:
I am using PIL(Python Imagi开发者_高级运维ng Library) for grabbing the image. But grabber() throws the following error message if I minimized the window