what is nth0 in prolog code example
Example: what is nth0 in prolog
nth0(?Index, ?List, ?Elem)
% True when Elem is the Index'th element of List. Counting starts at 0.
nth0(?Index, ?List, ?Elem)
% True when Elem is the Index'th element of List. Counting starts at 0.