diff options
author | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2015-12-15 10:45:30 +0100 |
---|---|---|
committer | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2015-12-15 10:46:19 +0100 |
commit | 2a4a1d39bfcfb8b258be96c180dde09a12345295 (patch) | |
tree | dac9e6080fac3adf0fe0b5d93a65ea0259a5b2e6 /prolog/problems/clp_fd/tobase_3 | |
parent | f22468b134a88fcd7acb1415c9997f578f1abe7b (diff) |
Add Slovenian translations for Prolog.{clp_fd,dcg}
Diffstat (limited to 'prolog/problems/clp_fd/tobase_3')
-rw-r--r-- | prolog/problems/clp_fd/tobase_3/sl.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/prolog/problems/clp_fd/tobase_3/sl.py b/prolog/problems/clp_fd/tobase_3/sl.py new file mode 100644 index 0000000..a775808 --- /dev/null +++ b/prolog/problems/clp_fd/tobase_3/sl.py @@ -0,0 +1,17 @@ +# coding=utf-8 + +name = 'tobase/3' +slug = 'Pretvori števila v/iz desetiškega sistema' + +description = '''\ +<p><code>tobase(Number, B, X)</code>: število <code>Number</code> je v desetiškem sistemu. <code>X</code> predstavlja to število v sistemu z bazo <code>B</code>. Implementiraj predikat z uporabo omejitev. Omeji vrednost <code>B</code> na interval [2..10].</p> +<pre> + ?- tobase(42, 2, X). + X = 101010. + ?- tobase(N, 2, 101010). + N = 42. + ?- tobase(42, B, 101010). + B = 2. +</pre>''' + +hint = {} |