summaryrefslogtreecommitdiff
path: root/prolog/problems/license_plates/firstminus_2/common.py
blob: 20376d2b23aca577f5d1f1c6c70c1a8a41654c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# coding=utf-8

id = 147
number = 54
visible = True
facts = None

solution = '''\
firstMinus(L, L).
firstMinus([X|T], [Y|T]) :-
  Y is -X.
'''