code doesn't work: question
Dennis Lee Bieber
wlfraed at ix.netcom.com
Tue Sep 3 11:15:52 EDT 2002
Ruslan Spivak fed this fish to the penguins on Tuesday 03 September
2002 03:03 am:
> if (tmp = var) == 5: # this is the error line
Unless things have changed since I last read a Python book, assignment
is not an operator, it is a statement.
tmp = var
if tmp == 5:
--
--
> ============================================================== <
> wlfraed at ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
> wulfraed at dm.net | Bestiaria Support Staff <
> ============================================================== <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <
More information about the Python-list
mailing list