Error:can't assign to operator

MRAB google at mrabarnett.plus.com
Fri Aug 1 19:51:32 EDT 2008


On Aug 1, 9:50 pm, Emile van Sebille <em... at fenx.com> wrote:
> 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

Just a comment, but I thought the preferred term was 'binding'... :-)



More information about the Python-list mailing list