From 2e900dd0317299294f4cb27213be6f5b36d4b8b8 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 13 Jan 2016 16:35:48 +0100 Subject: Use argument mode indicators in Prolog problem descriptions --- prolog/problems/family_relations/grandparent_2/en.py | 2 +- prolog/problems/family_relations/grandparent_2/sl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'prolog/problems/family_relations/grandparent_2') diff --git a/prolog/problems/family_relations/grandparent_2/en.py b/prolog/problems/family_relations/grandparent_2/en.py index 11918a9..e82441e 100644 --- a/prolog/problems/family_relations/grandparent_2/en.py +++ b/prolog/problems/family_relations/grandparent_2/en.py @@ -4,7 +4,7 @@ name = 'grandparent/2' slug = 'the grandparent relation' description = '''\ -

grandparent(P, C): P is a grandparent of C.

+

grandparent(?P, ?C): P is a grandparent of C.

 ?- grandparent(tina, X).
   X = vanessa ;
diff --git a/prolog/problems/family_relations/grandparent_2/sl.py b/prolog/problems/family_relations/grandparent_2/sl.py
index d74f4f4..bd2d63c 100644
--- a/prolog/problems/family_relations/grandparent_2/sl.py
+++ b/prolog/problems/family_relations/grandparent_2/sl.py
@@ -4,7 +4,7 @@ name = 'grandparent/2'
 slug = 'X je dedek ali babica od Y'
 
 description = '''\
-

grandparent(X, Y): X je dedek ali babica od Y.

+

grandparent(?X, ?Y): X je dedek ali babica od Y.

 ?- grandparent(tina, X).
   X = vanessa ;
-- 
cgit v1.2.1