Feb-08-2018, 07:00 PM
(Feb-08-2018, 06:33 PM)Joey21 Wrote: And now i tried to write a code for pdf ..like this
def mepdf(MF,l): # snipped return mepdf(MF,l)But my error if i try it like here mepdf(..) :
Quote:RecursionError: maximum recursion depth exceeded
You create a function, which then calls itself, which then calls itself, which then calls itself, forever. I don't know why you defined a nested function that you never used, but the recursion problem is because what you've got on the
return
line is almost definitely wrong.