from machine import Pin
from utime import sleep
led1=Pin(0,Pin.OUT)
led2=Pin(1,Pin.OUT)
led3=Pin(2,Pin.OUT)
led4=Pin(3,Pin.OUT)
led5=Pin(4,Pin.OUT)
led6=Pin(5,Pin.OUT)
led7=Pin(6,Pin.OUT)
led8=Pin(7,Pin.OUT)
led9=Pin(8,Pin.OUT)
led10=Pin(10,Pin.OUT)
led11=Pin(11,Pin.OUT)
led12=Pin(12,Pin.OUT)
led13=Pin(13,Pin.OUT)
led14=Pin(14,Pin.OUT)
led15=Pin(15,Pin.OUT)
led16=Pin(16,Pin.OUT)
led17=Pin(17,Pin.OUT)
led18=Pin(18,Pin.OUT)
led19=Pin(19,Pin.OUT)
led20=Pin(20,Pin.OUT)
led21=Pin(21,Pin.OUT)
led22=Pin(22,Pin.OUT)
led23=Pin(26,Pin.OUT)
led24=Pin(27,Pin.OUT)
led25=Pin(28,Pin.OUT)
while 1<2:
led1.value(1)
sleep(0.5)
led1.value(0)
sleep(1)
led2.value(1)
sleep(0.5)
led2.value(0)
sleep(1)
led3.value(1)
sleep(0.5)
led3.value(0)
sleep(1)
led4.value(1)
sleep(0.5)
led4.value(0)
sleep(1)
led5.value(1)
sleep(0.5)
led5.value(0)
sleep(1)
led6.value(1)
sleep(0.5)
led6.value(0)
sleep(1)
led7.value(1)
sleep(0.5)
led7.value(0)
sleep(1)
led8.value(1)
sleep(0.5)
led8.value(0)
sleep(1)
led9.value(1)
sleep(0.5)
led9.value(0)
sleep(1)
led10.value(1)
sleep(0.5)
led10.value(0)
sleep(1)
led11.value(1)
sleep(0.5)
led11.value(0)
sleep(1)
led12.value(1)
sleep(0.5)
led12.value(0)
sleep(1)
led13.value(1)
sleep(0.5)
led13.value(0)
sleep(1)
led14.value(1)
sleep(0.5)
led14.value(0)
sleep(1)
led15.value(1)
sleep(0.5)
led15.value(0)
sleep(1)
led16.value(1)
sleep(0.5)
led16.value(0)
sleep(1)
led17.value(1)
sleep(0.5)
led17.value(0)
sleep(1)
led18.value(1)
sleep(0.5)
led18.value(0)
sleep(1)
led19.value(1)
sleep(0.5)
led19.value(0)
sleep(1)
led20.value(1)
sleep(0.5)
led20.value(0)
sleep(1)
led21.value(1)
sleep(0.5)
led21.value(0)
sleep(1)
led22.value(1)
sleep(0.5)
led22.value(0)
sleep(1)
led23.value(1)
sleep(0.5)
led23.value(0)
sleep(1)
led24.value(1)
sleep(0.5)
led24.value(0)
sleep(1)
led25.value(1)
sleep(0.5)
led25.value(0)
sleep(1)