From d7967a5c77a1a3f0e84e131a8bbca0a501d8a4bc Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sat, 5 Jan 2019 12:20:54 +0100 Subject: Prolog: fix variable in instructions for capital_2 --- prolog/problems/world_data/capital_2/en.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prolog/problems/world_data') 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 = '''\

capital(X, Y): Y is the capital city of country X.

-?- capital('Ireland', M).
+?- capital('Ireland', Y).
   Y = 'Dublin'.
 

Useful facts are given as country(Name, ID, Capital, CapitalProvince, Size, Population).

-- cgit v1.2.1