Horje
last element prolog Code Example
[Solved] - last element prolog Code Example
Try following codes
last element prolog
last(X,[X]).
last(X,[_|Z]) :- last(X,Z).
Date: 2022-05-21 05:02:10
Category: whatever
More for You