Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Nested Recursive Function not Returning
Post: RE: Nested Recursive Function not Returning

A friend did say that I should return to iterate more instead of directly calling, my current code is: def d(x, dx, f): return (f(x + dx) - f(x)) / dx def minimize(f, g, iterations, dx=0.01): ...
Etotheitau General Coding Help 2 2,275 May-09-2020, 06:09 PM
    Thread: Nested Recursive Function not Returning
Post: Nested Recursive Function not Returning

I am trying to make a function that finds a local minimum of an arbitrary graph, using a recursive function. When I output the result with print(), it gives the correct value, but when I return it it ...
Etotheitau General Coding Help 2 2,275 May-09-2020, 05:06 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020