From a489d0c0ec393a0bed405b0497bf7d7427dc2282 Mon Sep 17 00:00:00 2001 From: Aleksander Sadikov Date: Mon, 14 Mar 2016 17:34:24 +0100 Subject: Basics for permute/2 added. --- prolog/problems/lists/permute_2/sl.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'prolog/problems/lists') 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 = '''\ -

-''', '''\

permute(L1, L2): seznam L2 je permutacija vrstnega reda elementov v seznamu L1.

 ?- permute([1,2,3], L).
@@ -17,6 +15,10 @@ description = '''\
   L = [3,2,1].
 
''' +#

+#''', '''\ + + plan = ['''\

Saj veš kako je šlo v osnovni šoli: prvi, drugi, prvi, ...

-- cgit v1.2.1