(Use Python) Use the Design Recipe to write a function called which_day that consumes an int representing the number of days that have passed since Friday and returns name of the current day of the...


(Use Python) Use the Design Recipe to write a function called
which_day that consumes an
int
 representing the number of days that have passed since Friday and returns name of the current day of the week. For example, if 2 days have passed, then ‘Sunday’ should be returned. Include a docstring!


For example:
































Test

Result
2Sunday
4Tuesday
6Thursday
8Saturday
10Monday


Write 3assert_equal statements to test your function.



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here