demo_for_range.py:
for x in range(6): print(x)
C:\Users\My Name>python demo_for_range.py
0
1
2
3
4
5