This is not a question. I just want to share with you how to get the exact days in a given year and month using python.
def days_in_month(year, month):