Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Step Relay solution in Clear category for Multicolored Lamp by Tinus_Trotyl
class Lamp:
def __init__(self):
self.switch = ['Yellow', 'Green', 'Red', 'Blue']
def light(self):
self.switch = self.switch[1:] + self.switch[:1]
return self.switch[0]
Aug. 6, 2018
Comments: