zero_max¶
Return a version of the given list where each zero value in the list is replaced by the largest odd value to the right of the zero in the list. If there is no odd value to the right of the zero, leave the zero as a zero.
This exercise was taken from codingbat.com and has been adapted for the Python language. There are many great programming exercises there, but the majority are created for Java.