Question: write in python and make functions and task module Add the function to a PyDev module named functions py. Test it from t01.py. day_of_the_week takes

write in python and make functions and task module
Add the function to a PyDev module named functions py. Test it from t01.py. day_of_the_week takes an integer parameter and returns a string representing the corresponding day of the week, where 1= "Sunday", 2= "Monday", up to 7= "Saturday". The function returns "Error" if the parameter is a number outside the range of 1 through 7. Assume that the parameter is an integer. Provide the function docstring (documentation) following the CP104 style. The function does not ask for input and does no printing - that is done by your test program. Sample execution: Please enter a number between 1 and 7:1 day_of_the_week(1) Sunday Test the function three times. Partial testing: Test functions.py: No file chosen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
