Use the Min/Max pattern to write a function maximum odd that finds the highest odd value in
the list iconsumes a non-empty list of numbers and returns a number). Use the provided helper
function is_odd (that consumes a single number and returns a boolean indicating whether it is
true or false), Do not change the helper function ia odd. Unit test both functions. Note: You can
assurne there will always be at least one odd number in the list, and none of the numbers will be
negative.

Use the MinMax pattern to write a function maximum odd that finds th.pdf

  • 1.
    Use the Min/Maxpattern to write a function maximum odd that finds the highest odd value in the list iconsumes a non-empty list of numbers and returns a number). Use the provided helper function is_odd (that consumes a single number and returns a boolean indicating whether it is true or false), Do not change the helper function ia odd. Unit test both functions. Note: You can assurne there will always be at least one odd number in the list, and none of the numbers will be negative.