Code runs correctly on local PC but not in exercism web editor

Thank you for your continued help!!

The code you listed works very well! The reason I didn’t think this correct was the test for “foldr(lambda acc, el: el / acc, [1, 2, 3, 4], 24)” The expected result of “9” did not seem possible to me with all the divisions by the accumulator. I assumed that the result would have to be a float. (I now get that when acc is a fraction it will have a numerator of 1 and, dividing the next number in the list by this fraction is effectively a multiplication which results in a new acc which is an int.)