diff options
author | Martin Možina <martin.mozina@fri.uni-lj.si> | 2016-10-25 11:44:37 +0200 |
---|---|---|
committer | Martin Možina <martin.mozina@fri.uni-lj.si> | 2016-10-25 11:44:37 +0200 |
commit | 656c66097e806b4c53646ea1fff3d8615426d304 (patch) | |
tree | 172d4cccd187380bfdc81df3f195f5304d9f4d34 /prolog/problems/world_data/all_capitals_1/en.py | |
parent | 0bfa95be7046b101a00f83f082260b5d0e007159 (diff) | |
parent | 9d662ae9b7a84b3826e91d2af17f251daaabcd79 (diff) |
Merge branch 'master' of 192.168.15.97:codeq-problems
Diffstat (limited to 'prolog/problems/world_data/all_capitals_1/en.py')
-rw-r--r-- | prolog/problems/world_data/all_capitals_1/en.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/prolog/problems/world_data/all_capitals_1/en.py b/prolog/problems/world_data/all_capitals_1/en.py new file mode 100644 index 0000000..92eb2b2 --- /dev/null +++ b/prolog/problems/world_data/all_capitals_1/en.py @@ -0,0 +1,13 @@ +name = 'all_capitals/1' +slug = 'capital cities' + +description = '''\ +<p><code>all_capitals(List)</code>: <code>List</code> is a list of all capitals in the world.</p> +<pre> +?- all_capitals(List). + List = ['Tirana', 'Athina', 'Skopje', 'Beograd', …] +</pre> +<p>Useful facts are given as <code>country(Name, ID, Capital, CapitalProvince, Size, Population)</code>.</p> +''' + +hint = {} |