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

id = 113
number = 20
visible = True
facts = None

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