[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accumulate , Range and Zeros

On Sat, Jul 13, 2019 at 10:02 PM Abdur-Rahmaan Janhangeer
<arj.python at gmail.com> wrote:
> @Thomas thought was a generator bug since instead of returning the usual
> nums it was returning 0 0 0 ...

When you find a bug or strange bit of behaviour, first make sure you
can reproduce it. Then create a small, self-contained program, just
enough to demonstrate what's going on. Post that code. Don't make us
guess :)