rango inclusivo de 2 a 5 en Python

# range(2, 6)
for idx in range(2, 6):
    print(idx, end=" ")  # 2 3 4 5
Wissam