Terry J. Reedy <tjre...@udel.edu> added the comment:
Another alternative is to make the example *be* interactive. This would also teach the easy, standard, and often better way to see the output of an iterable. >>> list(range(5, 10)) [5, 6, 7, 8, 9] >>> list(range(0, 10, 3)) [0, 3, 6, 9] >>> list(range(-10, -100, -30)) [-10, -40, -70] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40620> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com