Knight's tour Warndorff's algorithm problem

Terry Reedy tjreedy at udel.edu
Wed Mar 10 15:21:12 CET 2010


On 3/10/2010 12:37 AM, Gabriel Genellina wrote:

>> if (next != 0):
>> (self.y, self.x) = (next.y, next.x)

In Python3, next is a builtin function.
Choose a different name, at least in public code ;=).




More information about the Python-list mailing list