$ python3.8 Python 3.8.0 (default, Dec 12 2019, 09:56:28) [GCC 9.2.1 20191130] on linux Type "help", "copyright", "credits" or "license" for more information. >>> for i in range(10): ... if i < 2: ... print(i) ... 0 1