Error:can't assign to operator

Emile van Sebille emile at fenx.com
Fri Aug 1 16:50:55 EDT 2008


Prasad, Mrunalini wrote:
>         dest + j - 1 = source + i

Well, what are you trying to do here?

 >>> a,b,c = range(3)
 >>>a+b-1=c+1
SyntaxError:can't assign to operator

Emile





More information about the Python-list mailing list