Homework 13 - UMBC-CMSC104/General GitHub Wiki
For this program, you're going to make a calendar program in Python. Please name the program cmsc_calendar.py.
Your program is to read in two dates and print out all the holidays in between those two dates.
Please enter a starting date: 12-01-2012
Please enter an ending date: 01-31-2013
Holidays between December 1, 2012 and January 31, 2013:
Tuesday, December 25, 2012: Christmas
Monday, December 31, 2012: New Year's Eve
Tuesday, January 1, 2013: New Year's Day
The holidays you should account for are New Year's Day, President's Day, Martin Luther King Day, July 4th, Labor Day, Veteran's Day, Thanksgiving, Christmas, and New Year's Eve.
Your program should be able to handle years properly. That is, I should be able to enter a starting date of December 1, 2012 and and ending date of January 31, 2013.
You will need to figure out the Python calendar library for this assignment -- it will help immensely. You may also fine the datetime type useful. You can use it to parse dates, among other things.
To submit:
submit cs104_wilson hw13 cmsc_calendar.py