[python] How do we determine the number of days for a given month in python