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