[Tutor] Fwd: Re: Passing arguments?

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Oct 22 17:33:34 CEST 2013


On 22/10/2013 03:23, Jenny Allar wrote:

Plenty of sound advice as always so I'll just point out that...

>      elif product_weight >= 10 and product_weight < 25:

can be written as

elif 10 <= product_weight < 25:

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence



More information about the Tutor mailing list