>>> frutas = ["manzanas", "peras", "naranjas"] >>> for i, fruta in enumerate(frutas): ... print(i, fruta) 0 manzanas 1 peras 2 naranjas