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

id = 104
group = 'lists'
number = 12
visible = True
facts = None

solution = '''\
conc([], L, L).
conc([H|T], L2, [H|L]) :-
  conc(T, L2, L).
'''