Error:can't assign to operator

MRAB google at mrabarnett.plus.com
Sat Aug 2 01:51:32 CEST 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