from cubroid import master, sleep # Мигать красным 5 раз for i in range(5): master.red() sleep(0.3) master.off() sleep(0.3) print("Мигание готово!")