Question: Write a function named getDate. The function getDate takes one parameter: message, a string In addition to the parameter message, the function getDate should prompt

 Write a function named getDate. The function getDate takes one parameter:

Write a function named getDate. The function getDate takes one parameter: message, a string In addition to the parameter message, the function getDate should prompt the user for two items of input: first the month, then the day. The function getDate should produce two kinds of output. It should print out the month, day and message, separated by spaces return a string consisting of the month and day, separated by a space For example, the following would be correct input and output: >>> today = getDate('is a great day!") What month is it? February What day is it? 15 February 15 is a great day! >>> print (today) February 15

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!