Question: Im using python v3 with the wing IDE and this is my task. Can someone assist me with an approach? Write a Python module called
Im using python v3 with the wing IDE and this is my task. Can someone assist me with an approach? Write a Python module called calutils.py, and we need you to write this The module should contain the following functions is_leap_year (year) Given a year (a 4 digit number), returns true if it is a leap year, and false otherwise. month name (number) Given the number ofa month, returns the corresponding name. 1 is January,..., 12 is December days in month (month number, year) Given a month (in the form of a number) and (4 digit) year, return the number of days in the month (accounting, in the case of February, for whether or not it is a leap year). . first_day_of_year (year) Given a 4 digit year, return the number of the day on which January 1st falls. O is Sunday,,6 is Saturday. (See question 2 of assignment 2.) . first_day_of_month (month number, year) Given a month (in the form of a number) and (4 digit) year, return the number of the day on which the first of that month falls. O is Sunday, ., 6 is Saturday In each case we've given the name of the required function and its parameters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
