summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-01-05 12:20:54 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-01-05 12:20:54 +0100
commitd7967a5c77a1a3f0e84e131a8bbca0a501d8a4bc (patch)
treeb58011a322781a14a5c5452dba24994991e384cb /prolog
parent55bb597ae555e3f80454c017de4f47d68f1e9145 (diff)
Prolog: fix variable in instructions for capital_2
Diffstat (limited to 'prolog')
-rw-r--r--prolog/problems/world_data/capital_2/en.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/problems/world_data/capital_2/en.py b/prolog/problems/world_data/capital_2/en.py
index 5ecd2ab..3a26ccf 100644
--- a/prolog/problems/world_data/capital_2/en.py
+++ b/prolog/problems/world_data/capital_2/en.py
@@ -4,7 +4,7 @@ slug = 'capitals'
description = '''\
<p><code>capital(X, Y)</code>: <code>Y</code> is the capital city of country <code>X</code>.</p>
<pre>
-?- capital('Ireland', M).
+?- capital('Ireland', Y).
Y = 'Dublin'.
</pre>
<p>Useful facts are given as <code>country(Name, ID, Capital, CapitalProvince, Size, Population)</code>.</p>