[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: Knight's tour Warndorff's algorithm problem

Terry Reedy

3/10/2010 2:21:00 PM

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 ;=).