Jan-27-2020, 09:44 AM
(Jan-27-2020, 09:18 AM)DeaD_EyE Wrote: If you do next(iter('42'))
two times, you'll get 4 two times.
Yes, you are absolutely right. There is ambiguity in my post, it was too much about next() and not about practical application.
Just to add one more tidbit: for-loop creates iterator from iterable 'behind the scenes'.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.