From 8b115b9d4e1832aea6a95240a44a874a69c3b86b Mon Sep 17 00:00:00 2001 From: Aleksander Sadikov Date: Wed, 2 Sep 2015 18:37:02 +0200 Subject: Added SI version of hints for sister/2. --- prolog/problems/family_relations/sister_2/sl.py | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 prolog/problems/family_relations/sister_2/sl.py 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 = '''\ +

sister(X, Y): X je sestra od Y.

+
+  ?- sister(vanessa, X).
+    X = patricia.
+
''' + +hint = { + 'general_hint_1': '''\ +

Show Fig. #1 here.

+''', + + 'general_hint_2': '''\ +

Show Fig. #2 here.

+''', + + 'general_hint_3': '''\ +

Show Fig. #3 here.

+''', + + 'x_y_must_be_different': '''\ +

Si pomislil, da sta X in Y lahko ista oseba? Poskusi naslednjo poizvedbo:

+
+?- sister(sally, Y).
+
+''', + + 'x_must_be_female': '''\ +

Sestra je navadno ženskega spola.

+''', + + 'Y_can_be_of_any_gender': '''\ +

Y je pravzaprav lahko poljubnega spola.

+''', + + 'common_parent_needed': '''\ +

Dobro bi bilo, da imata X in Y vsaj enega skupnega starša.

+''', +} -- cgit v1.2.1