I\'m writing a django model that allows my site to have coupons.
Coupons can have three types: lifetime account voucher, certain period of months voucher, certain numb
How about
if len(filter([self.months, self.dollars, self.lifetime])) > 1: ...
I find it just as readable as a list comprehension with an if clause, and more concise.
if