from machine import Pin
import time
led_list = [10,11,12,13,14]
led_pin_index = []
for i in led_list:
led_pin_index.append(Pin(i,Pin.OUT))
for a in led_pin_index:
a.value(0)
while True:
for a in led_pin_index:
a.value(not a.value())
time.sleep(0.05)