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

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 = {}