summaryrefslogtreecommitdiff
path: root/prolog/problems/trees/memberbt_2/common.py
blob: f5e543510c997d138829561fea21fcc462022c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# coding=utf-8

id = 135
number = 42
visible = True
facts = None

solution = '''\
memberBT(X, b(_, X, _)).
memberBT(X, b(L, _, _)) :-
  memberBT(X, L).
memberBT(X, b(_, _, R)) :-
  memberBT(X, R).
'''