summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/del_3/common.py
blob: 81bbb75f5323f1a802850bc73ee19ba8dec1a322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# coding=utf-8

id = 105
group = 'lists'
number = 11
visible = True
facts = None

solution = '''\
del(X, [X|T], T).
del(X, [Y|T], [Y|L]) :-
  del(X, T, L).
'''