timedelta(objects you can learn about python' date and time modules by reading of automate the boring stuff with python at automatetheboringstuff com/ / """calendar makerby al sweigart al@inventwithpython com create monthly calendarssaved to text file and fit for printing view this code at tagsshort"" import datetime set up the constants days ('sunday''monday''tuesday''wednesday''thursday' 'friday''saturday' months ('january''february''march''april''may''june''july' 'august''september''october''november''december' print('calendar makerby al sweigart al@inventwithpython com' while trueloop to get year from the user print('enter the year for the calendar:' response input('' if response isdecimal(and int(response year int(response break print('please enter numeric yearlike ' continue while trueloop to get month from the user print('enter the month for the calendar - :' response input('' if not response isdecimal() print('please enter numeric monthlike for march ' continue month int(response if <month < break print('please enter number from to ' def getcalendarfor(yearmonth) caltext 'caltext will contain the string of our calendar put the month and year at the top of the calendar caltext +( months[month str(year'\ add the days of the week labels to the calendar (!try changing this to abbreviationssunmontueetc project #