(Very Newbie) Problems defining a variable

Scott David Daniels Scott.Daniels at Acm.Org
Fri Dec 12 20:21:17 EST 2008


febaen at gmail.com wrote:
> ...
> 	elif bank >= 10000 and bank <= 24999:
> 		rate = 0.0085
 > ...

Also, (although not useful here as others have pointed out),
note that particular code means the same thing as:
...
     elif 10000 <= bank <= 24999:
         rate = 0.0085
...


--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list