new guy

KefX keflimarcusx at aol.comNOSPAM
Tue Nov 18 08:32:10 EST 2003


>	if e>= 1 :
>		a=e
>	else :
>		a=0
>I keep getting a syntax error.

You sure this causes it? It doesn't seem to be great style to me (should be no
space before a colon, spaces around the equals sign, space before the >=
operator), but that won't cause a syntax error.

What is the exact error message you receive? Even better, post the whole
traceback.

- Kef





More information about the Python-list mailing list