demo_for_range2.py:
for x in range(2, 6): print(x)
➜ begtut>python demo_for_range2.py
2
3
4
5