Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
No patterns solution in Clear category for Multicolored Lamp by vit.aborigen
LIGHT = ['Green', 'Red', 'Blue', 'Yellow']
class Lamp:
def __init__(self):
self.current_state = -1
def light(self):
self.current_state += 1
return LIGHT[self.current_state%4]
Oct. 1, 2018
Comments: