Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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

image text in transcribed

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions