summaryrefslogtreecommitdiff
path: root/prolog/problems/license_plates/firstminus_2
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-01-13 13:51:15 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-01-13 13:51:15 +0100
commit388b32039898cc8f1784378689007254eb7a33b6 (patch)
treeac9e4c6145ad323dc5479179a04f44bbcea73eff /prolog/problems/license_plates/firstminus_2
parente36a8a2feca7552d236c0f6e89ac73e7e690e7b1 (diff)
Remove space-padding from <pre> blocks
Diffstat (limited to 'prolog/problems/license_plates/firstminus_2')
-rw-r--r--prolog/problems/license_plates/firstminus_2/en.py6
-rw-r--r--prolog/problems/license_plates/firstminus_2/sl.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/prolog/problems/license_plates/firstminus_2/en.py b/prolog/problems/license_plates/firstminus_2/en.py
index cea521a..f939c91 100644
--- a/prolog/problems/license_plates/firstminus_2/en.py
+++ b/prolog/problems/license_plates/firstminus_2/en.py
@@ -6,9 +6,9 @@ slug = 'negate the first element in a list of numbers'
description = '''\
<p><code>firstMinus(L1, L2)</code>: the list <code>L2</code> is the same as <code>L1</code>, except for the first element that may be negated. Your code should return both solutions.</p>
<pre>
- ?- firstMinus([1,2,3], L).
- L = [1,2,3] ;
- L = [-1,2,3].
+?- firstMinus([1,2,3], L).
+ L = [1,2,3] ;
+ L = [-1,2,3].
</pre>'''
hint = {}
diff --git a/prolog/problems/license_plates/firstminus_2/sl.py b/prolog/problems/license_plates/firstminus_2/sl.py
index d480994..6186302 100644
--- a/prolog/problems/license_plates/firstminus_2/sl.py
+++ b/prolog/problems/license_plates/firstminus_2/sl.py
@@ -6,9 +6,9 @@ slug = 'Negiraj prvi element v danem seznamu števil'
description = '''\
<p><code>firstMinus(L1, L2)</code>: seznam <code>L2</code> je enak kot <code>L1</code>, razen prvega elementa, ki je lahko negiran ali pa ne. Predikat naj vrne obe rešitvi, eno za drugo.</p>
<pre>
- ?- firstMinus([1,2,3], L).
- L = [1,2,3] ;
- L = [-1,2,3].
+?- firstMinus([1,2,3], L).
+ L = [1,2,3] ;
+ L = [-1,2,3].
</pre>'''
hint = {}