diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-13 13:51:15 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-13 13:51:15 +0100 |
commit | 388b32039898cc8f1784378689007254eb7a33b6 (patch) | |
tree | ac9e4c6145ad323dc5479179a04f44bbcea73eff /prolog/problems/sorting/sins_3 | |
parent | e36a8a2feca7552d236c0f6e89ac73e7e690e7b1 (diff) |
Remove space-padding from <pre> blocks
Diffstat (limited to 'prolog/problems/sorting/sins_3')
-rw-r--r-- | prolog/problems/sorting/sins_3/en.py | 8 | ||||
-rw-r--r-- | prolog/problems/sorting/sins_3/sl.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/prolog/problems/sorting/sins_3/en.py b/prolog/problems/sorting/sins_3/en.py index 2d9cf98..db35da2 100644 --- a/prolog/problems/sorting/sins_3/en.py +++ b/prolog/problems/sorting/sins_3/en.py @@ -6,10 +6,10 @@ slug = 'insert an element at correct position into a sorted list' description = '''\ <p><code>sins(X, SortedList, NewList)</code>: the list <code>NewList</code> is obtained by inserting <code>X</code> into <code>SortedList</code> at the correct position to preserve the non-decreasing order of elements.</p> <pre> - ?- sins(4, [1,2,3,5], L). - L = [1,2,3,4,5]. - ?- sins(3, [1,2,3,4], L). - L = [1,2,3,3,4]. +?- sins(4, [1,2,3,5], L). + L = [1,2,3,4,5]. +?- sins(3, [1,2,3,4], L). + L = [1,2,3,3,4]. </pre>''' hint = {} diff --git a/prolog/problems/sorting/sins_3/sl.py b/prolog/problems/sorting/sins_3/sl.py index 22e51b2..fe7d015 100644 --- a/prolog/problems/sorting/sins_3/sl.py +++ b/prolog/problems/sorting/sins_3/sl.py @@ -6,10 +6,10 @@ slug = 'Vstavi element na ustrezno mesto v urejen seznam' description = '''\ <p><code>sins(X, SortedList, NewList)</code>: seznam <code>NewList</code> dobiš tako, da vstaviš element <code>X</code> v <code>SortedList</code> na ustrezno mesto tako, da ohraniš urejenost elementov.</p> <pre> - ?- sins(4, [1,2,3,5], L). - L = [1,2,3,4,5]. - ?- sins(3, [1,2,3,4], L). - L = [1,2,3,3,4]. +?- sins(4, [1,2,3,5], L). + L = [1,2,3,4,5]. +?- sins(3, [1,2,3,4], L). + L = [1,2,3,3,4]. </pre>''' hint = {} |