summaryrefslogtreecommitdiff
path: root/prolog/problems/sets/powerset_2/sl.py
blob: 4a092db262da46e85df78699382925c22376e410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# coding=utf-8

name = 'powerset/2'
slug = 'Poišči potenčno množico od dane množice'

description = '''\
<p><code>powerset(Set, Powerset)</code>: množica <code>Powerset</code> vsebuje vse podmnožice od množice <code>Set</code>.</p>
<pre>
?- powerset([1,2,3], L).
  L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
</pre>'''

hint = {}