from machine import Pin
import time
for x in range(10): # declaration bel for
Pin(x , Pin.OUT)
for x in range (10): # bch n5admou lanbeyb bel for
Pin(x).on()
time.sleep(0.5)
Pin(x).off()
from machine import Pin
import time
for x in range(10): # declaration bel for
Pin(x , Pin.OUT)
for x in range (10): # bch n5admou lanbeyb bel for
Pin(x).on()
time.sleep(0.5)
Pin(x).off()