diff options
Diffstat (limited to 'prolog/problems/license_plates/firstminus_2')
-rw-r--r-- | prolog/problems/license_plates/firstminus_2/en.py | 6 | ||||
-rw-r--r-- | prolog/problems/license_plates/firstminus_2/sl.py | 6 |
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 = {} |