Loops/Wrong ranges: Difference between revisions

m
(Promote to full task status.)
Line 410:
start, stop, increment = [int(x) for x in (_start, _stop, _increment)]
print(f'{comment.upper()}:\n range({start}, {stop}, {increment})')
error, values = None, None
try:
values = list(islice(range(start, stop, increment), 999))
except ValueError as e:
error = e
print(' !!ERROR!!', e)
if values is not None:
Anonymous user