from machine import Pin
from utime import sleep
b1=Pin(7, Pin.OUT)
b2= Pin(20, Pin.OUT)
g1= Pin(9, Pin.OUT)
g2=Pin(10,Pin.OUT)
while True:
g1.on()
g2.on()
b1.off()
b2.off()
sleep(1.6)
b1.on()
b2.on()
g1.off()
g2.off()
sleep(2)