Question: Please use Python and include screenshots of your code. Thanks. Write a program that asks a user for 3 inputs - the month, the day

Please use Python and include screenshots of your code. Thanks.

Write a program that asks a user for 3 inputs - the month, the day of the month, and the year. All inputs must be numeric. Next, write a function to validate each input and another that will accept three parameters - the month, the day of the month, and the year. The function should return a string of date information of the form "month/day of month/year" Thus, for a month of 2, a day of the month as 22, and a year of 2050, the return should be:

2/22/2050

Store the functions in their own file. Next, create another file that you will use to test your new functions. Write a test case class and create methods on it to ensure that the functions do what they are supposed to do. Make sure that when you write your class that you run it and your test passes.

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!