summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorAleksander Sadikov <sasha@fri.uni-lj.si>2015-09-02 18:37:02 +0200
committerAleksander Sadikov <sasha@fri.uni-lj.si>2015-09-02 18:37:02 +0200
commit8b115b9d4e1832aea6a95240a44a874a69c3b86b (patch)
tree013d100bfa0cc0abd9e4f7f3f7a8c536bba16b21 /prolog
parent8a78f388e7bde9cabe140092a832855d3940be7d (diff)
Added SI version of hints for sister/2.
Diffstat (limited to 'prolog')
-rw-r--r--prolog/problems/family_relations/sister_2/sl.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/prolog/problems/family_relations/sister_2/sl.py b/prolog/problems/family_relations/sister_2/sl.py
new file mode 100644
index 0000000..c867567
--- /dev/null
+++ b/prolog/problems/family_relations/sister_2/sl.py
@@ -0,0 +1,45 @@
+# coding=utf-8
+
+id = 96
+name = 'sister/2'
+slug = 'X je sestra od Y'
+
+description = '''\
+<p><code>sister(X, Y)</code>: <code>X</code> je sestra od <code>Y</code>.</p>
+<pre>
+ ?- sister(vanessa, X).
+ X = patricia.
+</pre>'''
+
+hint = {
+ 'general_hint_1': '''\
+<p>Show Fig. #1 here.</p>
+''',
+
+ 'general_hint_2': '''\
+<p>Show Fig. #2 here.</p>
+''',
+
+ 'general_hint_3': '''\
+<p>Show Fig. #3 here.</p>
+''',
+
+ 'x_y_must_be_different': '''\
+<p>Si pomislil, da sta <code>X</code> in <code>Y</code> lahko ista oseba? Poskusi naslednjo poizvedbo:</p>
+<pre>
+?- sister(sally, Y).
+</pre>
+''',
+
+ 'x_must_be_female': '''\
+<p>Sestra je navadno ženskega spola.</p>
+''',
+
+ 'Y_can_be_of_any_gender': '''\
+<p><code>Y</code> je pravzaprav lahko poljubnega spola.</p>
+''',
+
+ 'common_parent_needed': '''\
+<p>Dobro bi bilo, da imata <code>X</code> in <code>Y</code> vsaj enega skupnega starša.</p>
+''',
+}