結果 : constraint satisfaction problem in python