(Use Python) Use the Design Recipe to define a function calledblack_jack which consumes to 2int values greater than 0. Return whichever value is nearest to 21 without going over. Return 0 if they both go over. Include a docstring!
For example:
Write threeassert_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