20 Apr
2020
20 Apr
'20
10:20 p.m.
x = iter(range(5)) y = [0] try: zipped = zip(x, y, strict=True) except ValueError: # assuming that’s the exception you want? print(next(x))
Should this print 1 or 2 or raise StopIteration or be a don’t-care?
Surely no exception is raised because zip is lazy? Doesn't it still have to be even with strict=True?