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

id = 133
number = 40
visible = True
facts = None

solution = '''\
subset([], []).
subset([H|T], [H|T1]) :-
  subset(T, T1).
subset([_|T], T1) :-
  subset(T, T1).
'''