summaryrefslogtreecommitdiff
path: root/prolog/problems/sets/powerset_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/sets/powerset_2')
-rw-r--r--prolog/problems/sets/powerset_2/en.py4
-rw-r--r--prolog/problems/sets/powerset_2/sl.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/prolog/problems/sets/powerset_2/en.py b/prolog/problems/sets/powerset_2/en.py
index ad2fe87..dcc299c 100644
--- a/prolog/problems/sets/powerset_2/en.py
+++ b/prolog/problems/sets/powerset_2/en.py
@@ -6,8 +6,8 @@ slug = 'find all subsets of a set'
description = '''\
<p><code>powerset(Set, Powerset)</code>: the list <code>Powerset</code> contains all subsets of <code>Set</code>.</p>
<pre>
- ?- powerset([1,2,3], L).
- L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
+?- powerset([1,2,3], L).
+ L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
</pre>'''
hint = {}
diff --git a/prolog/problems/sets/powerset_2/sl.py b/prolog/problems/sets/powerset_2/sl.py
index a782dee..4a092db 100644
--- a/prolog/problems/sets/powerset_2/sl.py
+++ b/prolog/problems/sets/powerset_2/sl.py
@@ -6,8 +6,8 @@ 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],[]].
+?- powerset([1,2,3], L).
+ L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
</pre>'''
hint = {}