summaryrefslogtreecommitdiff
path: root/prolog/problems/world_data/similar_population_3/en.py
blob: e9c251680d528fe95f28655d56755c4943bb2f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name = 'simpop/3'
slug = 'countries with most similar number of residents'

description = '''\
<p><code>simpop(X, Y, Diff)</code>: <code>X</code> and <code>Y</code> are countries with the most similar numbers of
residents. <code>Diff</code> represents the difference between them.</p>
<pre>
?- simpop('Fiji', Y, Diff).
  Y = 'Cyprus',
  Diff = 20152.
</pre>
<p>Useful facts are given as <code>country(Name, ID, Capital, CapitalProvince, Size, Population).</code></p>
'''

hint = {}