[tutor] Update assignment

This commit is contained in:
tolauwae 2025-03-30 21:56:24 +02:00
parent 39c3af4ba5
commit ca687c0136
No known key found for this signature in database
GPG key ID: 20E068EB5B132116
18 changed files with 438 additions and 14 deletions

View file

@ -0,0 +1,10 @@
palindrome --> [].
palindrome --> [_].
palindrome --> [X], palindrome, [X].
:- initialization(main).
main :-
string_chars("hellolleh", Chars),
phrase(palindrome, Chars).