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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor