diff options
author | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2015-12-14 13:57:29 +0100 |
---|---|---|
committer | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2015-12-14 15:25:36 +0100 |
commit | 384d3c501a38b489312496b0bf9522bdf29053d8 (patch) | |
tree | bd1a81ce29449ee7f8d017b86365fda710afaf96 /prolog/problems/lists/count_3 | |
parent | 4918cebf5f135993cd1d2d61bc906559e627f526 (diff) |
Add Slovenian translations for Prolog exercises
Diffstat (limited to 'prolog/problems/lists/count_3')
-rw-r--r-- | prolog/problems/lists/count_3/sl.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/prolog/problems/lists/count_3/sl.py b/prolog/problems/lists/count_3/sl.py new file mode 100644 index 0000000..15a4650 --- /dev/null +++ b/prolog/problems/lists/count_3/sl.py @@ -0,0 +1,13 @@ +# coding=utf-8 + +name = 'count/3' +slug = 'Preštej kolikokrat se element pojavi v seznamu' + +description = '''\ +<p><code>count(X, L, N)</code>: <code>N</code> je število kolikokrat se element <code>X</code> pojavi v seznamu <code>L</code>.</p> +<pre> + ?- count(1, [1,2,1,3,1], N). + N = 3. +</pre>''' + +hint = {} |