http://stackoverflow.i2p/questions/72597925/function-that-gives-first-date-or-every-month-of-a-given-year
Function that gives first date or every month of a given year ( ) Asked Jun 13, 2022 at 5:01 by Coder . This is the function i have created which display all the days of the particular month of any year (as you can see when function is called) def func ( y , m ) : for i in range ( 1 , calendar . monthrange ( y , m ) [ 1 ] + 1 ) : th_date = datetime ( y , m , i ) print ( th_date ) func ( 2020 , 4 ) Note: what I want to is that it should display all the first date of all the...