> days_in_month = lambda m: m - 2 and 31 - ((m + 9) % 12 % 5 % 2) or 28 > > the guts of which is slightly more elegant than the ancient writing > from which it was derived:
Lacks citation. -- http://mail.python.org/mailman/listinfo/python-list
> days_in_month = lambda m: m - 2 and 31 - ((m + 9) % 12 % 5 % 2) or 28 > > the guts of which is slightly more elegant than the ancient writing > from which it was derived:
Lacks citation. -- http://mail.python.org/mailman/listinfo/python-list