# coding=utf-8 name = 'palindrome/1' slug = 'check if list is a palindrome' description = '''\

palindrome(L): the elements of list L are the same when read from the front or back of the list.

  ?- palindrome([1,2,3,2,1]).
    true.
  ?- palindrome([1,2,3]).
    false.
''' hint = {}