# Avec un indice (ou compteur) de boucle for i in range(3): print(i) # Affichage : 0 1 2