Help for this page
Select Code to Download
Select
or
download this
different_lists([A|TA], [B|TB]) :- ( A #\= B ; different_lists(TA, TB)).