Question: Write a function named month_info. The function month_info should prompt the user for the current month and the number of days in the current month,

Write a function named month_info. The function month_info should prompt the user for the current month and the number of days in the current month, then print a comment telling the user whether the month is short, medium or long. (You may assume that the user provides valid input.) Input: The function month_info takes one integer parameter: medium_length. Output:The function month_info should print the current month and whether the month is short, medium or long. The function month_info should return the current month. For example, the following would be valid input and output. >>> current_month = month_info(30) What month is it? February How many days in February? 28 February is short >>> print(current_month) February

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!