Posted by: gorkhali keto November 27, 2015
assignment help
Login in to Rate this Post:     0       ?        
NY, Thank you so much for your input. But actually I mistakenly didn't typed in all the information required to create calendar or I accidentally deleted some information.

The actual question goes like this:
Planet mars have a rather unusal calendar system. Instead of the usual 7 days a week that we normally use here on earth. Martian have 9 days in their week each named after different color- Redday, Bluedday, Greenday, Yellowday, Purpleday, Maroonday, Orangeday, Tanday and Silverday. Also Martian use unusual number of days in month. As few as 27 days in month or as many as 37 days.
For 34 days calendar that starts with purple day.
R B G Y P M O T S
1 2 3 4 5
6 7 8 9 10 11 12 13 14
15 16 17 18 19 20 21 22 23
24 25 26 27 28 29 30 31 32
33 34
The Martians have one further wrinkle in their calendar system. If a month happens to be so called festival month, then second and foruth week of that month do not have maroonday, Orangeday, Tanday or Silverday. (These are the Busiest Workdays of the week anyway and cancelling them is good cause for celebration) The calendar looks like this for festival month
R B G Y P M O T S
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15 16 17 18 19
20 21 22 23 24
25 26 27 28 29 30 31 32 33
34

To create calendar we need to know:
1. What day of the week does 1st day of the month starts on?
2. How many days are there in the month?
3. Is the month festival month?
Design, write and execute a python language progarm that ask the user what day of the wek chosen month starts on (" Redday", Blueday" etc.)
How many days there are in the month between 27 to 37
whether the month is festival or not?

Read Full Discussion Thread for this article