(doctest) Create a script containing the following maximum function: Modify the function’s docstring to define tests for calling function maximum with three ints, three floats and three strings. For each type, provide three tests—one with the largest value as the first argument, one with the largest value as the second argument, one with the largest value as the third argument. Use doctest to run your tests and confirm that all execute correctly. Next, modify the maximum function to use < operators=”” rather=”” than=””> operators. Run your tests again to see which tests fail.
#Sales Offer!| Get upto 25% Off: