summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorAleksander Sadikov <aleksander.sadikov@fri.uni-lj.si>2016-03-14 17:34:24 +0100
committerAleksander Sadikov <aleksander.sadikov@fri.uni-lj.si>2016-03-14 17:34:24 +0100
commita489d0c0ec393a0bed405b0497bf7d7427dc2282 (patch)
treee1e7c8215ceb24e51cd826733bd05d57d990735a /prolog
parent5796bc7d71265f36c67d94e941b857fab86ec8d3 (diff)
Basics for permute/2 added.
Diffstat (limited to 'prolog')
-rw-r--r--prolog/problems/lists/permute_2/sl.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/prolog/problems/lists/permute_2/sl.py b/prolog/problems/lists/permute_2/sl.py
index 2237a54..e565262 100644
--- a/prolog/problems/lists/permute_2/sl.py
+++ b/prolog/problems/lists/permute_2/sl.py
@@ -4,8 +4,6 @@ name = 'permute/2'
slug = 'Generiraj permutacije elementov v seznamu'
description = '''\
-<p><img src="[%@resource plan.svg%]" /></p>
-''', '''\
<p><code>permute(L1, L2)</code>: seznam <code>L2</code> je permutacija vrstnega reda elementov v seznamu <code>L1</code>.</p>
<pre>
?- permute([1,2,3], L).
@@ -17,6 +15,10 @@ description = '''\
L = [3,2,1].
</pre>'''
+#<p><img src="[%@resource plan.svg%]" /></p>
+#''', '''\
+
+
plan = ['''\
<p><img src="[%@resource plan.svg%]" /></p>
<p>Saj veš kako je šlo v osnovni šoli: prvi, drugi, prvi, ...</p>