from machine import Pin
import time
led_red = Pin(16, Pin.OUT)
led_yellow = Pin(17, Pin.OUT)
led_green = Pin(18, Pin.OUT)
#how stop with keyboard?
while True:
led_green.toggle()
time.sleep(4)
led_green.toggle()
time.sleep(0.2)
led_yellow.toggle()
time.sleep(2)
led_yellow.toggle()
time.sleep(0.2)
led_red.toggle()
time.sleep(4)
led_red.toggle()
time.sleep(0.2)
status = ("Would you like to stop? ")