You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/csp/python-constraint/testconstraint.py

7 lines
105 B
Python

#!/usr/bin/python
from constraint import *
p = Problem()
p.addVariable("a", [1])
print p.getSolutions()