blob: 33fc223dbaea3f7012b7ce1038f746d568b7bdd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# coding=utf-8
id = 119
group = 'lists'
number = 26
visible = True
facts = None
solution = '''\
len([], 0).
len([_|T], Len) :-
len(T, LenT),
Len is LenT + 1.
'''
|