subject

I please need the answer to Assignment 8: Calendar langauge python, here is the question:

Instructions
Create a calendar program that allows the user to enter a day, month, and year in three separate variables as shown below.

Please enter a date
Day:
Month:
Year:
Then, ask the user to select from a menu of choices using this formatting:

Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days left in the given year.
The program must include the following functions:

leap_year: Takes the year as a parameter and returns 1 if a year is a leap year (Links to an external site.) and 0 if it is not. This information will only be used by other functions.
number_of_days: This subprogram will accept two parameters in the following order: month and year. It will return how many days are in the given month (Links to an external site.).
days_left: This will accept three parameters in the following order: day, month, and year. It should calculate the number of days left in the year, and return the value of number of days left. This should not include the date the user entered in the count.
Note: Make sure to name the functions and pass the parameters exactly in the order specified.

Sample Run 1
Please enter a date
Day: 5
Month: 5
Year: 1984
Menu:
1) Calculate the number of day in the given month.
2) Calculate the number of days left in the given year.
1
31
Sample Output 1
Please enter a date
Menu:
1) Calculate the number of day in the given month.
2) Calculate the number of days left in the given year.
31
Sample Run 2
Please enter a date
Day: 21
Month: 6
Year: 2016
Menu:
1) Calculate the number of day in the given month.
2) Calculate the number of days left in the given year.
2
193
Sample Output 2
Please enter a date
Menu:
1) Calculate the number of day in the given month.
2) Calculate the number of days left in the given year.
193

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:30
Ineed on my history if anyone can check out the last few questions i posted and i will be posting !
Answers: 2
question
Computers and Technology, 22.06.2019 04:30
Eye injuries usually occur as a result of all of the following things, except: a) proper machine operation b) battery explosion c) falling or flying debris d) electric welding arc
Answers: 2
question
Computers and Technology, 22.06.2019 11:10
Which are not examples of chronic or persistent stress? moving
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Write a method that takes in an array of point2d objects, and then analyzes the dataset to find points that are close together. be sure to review the point2d api. in your method, if the distance between any pair of points is less than 10, display the distance and the (x,y)s of each point. for example, "the distance between (3,5) and (8,9) is 6.40312." the complete api for the point2d adt may be viewed at ~pf/sedgewick-wayne/algs4/documentation/point2d.html (links to an external site.)links to an external site.. try to write your program directly from the api - do not review the adt's source code.
Answers: 1
You know the right answer?
I please need the answer to Assignment 8: Calendar langauge python, here is the question:

Questions
question
Health, 29.08.2019 04:40
question
Biology, 29.08.2019 04:40
question
English, 29.08.2019 04:40
question
Social Studies, 29.08.2019 04:41
question
Mathematics, 29.08.2019 04:41
question
Social Studies, 29.08.2019 04:41
Questions on the website: 13722360