For i in range 1 len a. For i in range len питон. len в питоне для массива. цикл range. range len в питоне.