(Use Python) Use the Design Recipe to write a function calledwhich_day that consumes anint 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:
Write 3assert_equal statements to test your function.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here