summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_beth_1/en.py
blob: fed373c1cc31b844331ac8303e470a4a11a5dbb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# coding=utf-8

id = 155
name = 'puzzle_beth/1'
slug = 'age puzzle: beth'

description = '''\
<p>When asked how old she was, Beth replied "In two years I will be twice as old as I was five years ago".</p>
<p>Write the predicate <code>puzzle_beth(X)</code> that finds her current age as <code>X</code>.</p>
'''

hint = {}