[Edu-sig] Re: easy for beginners, even children
Daniel Ajoy
dajoy at openworldlearning.org
Wed Apr 14 18:54:37 EDT 2004
From: "Lee Harr" <missive at hotmail.com>
>
> >> >In Python:
> >> >
> >> >>>>2 = 3
> >> >SyntaxError: can't assign to literal
> >>
> >>I would say ...
> >>set 2 equal to 3.
> >>
> >>Doesn't make much sense, so that's an error.
> >
> >It makes sense if the student wanted the computer
> >to answer if 2 is equal to 3.
> >
>
>
> But why would they say "set 2 equal to 3" if they want to
> know "is 2 equal to 3"?
Because 2 = 3 is what they would write on paper.
But I agree that it does not take much brilliance to
understand that = and == are different things, and when
to use each one.
Daniel
More information about the Edu-sig
mailing list