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

id = 119
name = 'len/2'
slug = 'find the length of a list'

description = '''\
<p><code>len(L, Len)</code>: <code>Len</code> is the length of the list <code>L</code>.</p>
<pre>
  ?- len([1,2,3], Len).
    Len = 3.
</pre>'''

hint = {}