Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
A lot of light solution in Clear category for Multicolored Lamp by V.Shkaberda
from itertools import cycle
lights = ('Green', 'Red', 'Blue', 'Yellow')
def Lamp():
light = lambda: cycle(lights)
light.lights = light()
light.light = lambda: next(light.lights)
return light
Oct. 27, 2018