While returning values p,q,N,d,e, I faced the error: cannot unpack non-iterable NoneType object. I tried multiple exceptions but still nothing seems to
p,q,N,d,e
cannot unpack non-iterable NoneType object