Question: Write a function called return _ day. This function takes in one parameter ( a number from 1 - 7 ) and returns the day
Write a function called returnday. This function takes in one parameter a number from and returns the day of the week is Sunday, is Monday, is Tuesday etc. If the number is less than or greater than the function should return None
Hint: store the days of the week in a list or dict using numbers as keys
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
