new guy

nards_collective nards_collective at yahoo.com.au
Tue Nov 18 07:03:50 EST 2003


I'm new to Python, in fact I'm new to programming. I'm trying to write
a simulation program, for a biology class I'm teaching next year. the
following code is giving me trouble and i can't work out why.

	if e>= 1 :
		a=e
	else :
		a=0


I keep getting a syntax error.
This piece of code is meant to keep the value of a equal to or grater
than 0. Any odeas would be appreciated.

THAnkS
NArDS







More information about the Python-list mailing list