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

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 = {}