Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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: 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started