summaryrefslogtreecommitdiff
path: root/prolog/problems/license_plates/getdigits_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/license_plates/getdigits_2')
-rw-r--r--prolog/problems/license_plates/getdigits_2/en.py4
-rw-r--r--prolog/problems/license_plates/getdigits_2/sl.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/prolog/problems/license_plates/getdigits_2/en.py b/prolog/problems/license_plates/getdigits_2/en.py
index afc41d4..cfa66a0 100644
--- a/prolog/problems/license_plates/getdigits_2/en.py
+++ b/prolog/problems/license_plates/getdigits_2/en.py
@@ -6,8 +6,8 @@ slug = 'remove non-numeric elements from a list'
description = '''\
<p><code>getdigits(L, DL)</code>: the list <code>DL</code> contains the numeric elements of <code>L</code>, in the same order as in the original list.</p>
<pre>
- ?- getdigits([2,3,e,-,4,b], DL).
- DL = [2,3,4].
+?- getdigits([2,3,e,-,4,b], DL).
+ DL = [2,3,4].
</pre>'''
hint = {}
diff --git a/prolog/problems/license_plates/getdigits_2/sl.py b/prolog/problems/license_plates/getdigits_2/sl.py
index 3f59e90..a67f164 100644
--- a/prolog/problems/license_plates/getdigits_2/sl.py
+++ b/prolog/problems/license_plates/getdigits_2/sl.py
@@ -6,8 +6,8 @@ slug = 'Vrni vse številke iz podanega seznama'
description = '''\
<p><code>getdigits(L, DL)</code>: seznam <code>DL</code> vsebuje vse številke iz seznama <code>L</code>, vrstni red elementov se ohrani.</p>
<pre>
- ?- getdigits([2,3,e,-,4,b], DL).
- DL = [2,3,4].
+?- getdigits([2,3,e,-,4,b], DL).
+ DL = [2,3,4].
</pre>'''
hint = {}