Multiple Lightbulbs Multiple Lightbulbs
English RU

In the 4th mission of the series more light bulbs are added.

You still must determine how long the room will be lit during the observation period between start_watching and end_watching. But now we have more than one light bulb. This means that in the light bulb switching array can now also be passed the number of the light bulb, the button of which is being pressed.

Each element of the button clicking array can be either a datetime object (which means the time when the first button was pressed) or a tuple of 2 elements (where the first elements is a datetime object, the time the button was pressed), and the second is...

You should be an authorized user in order to see the full description and start solving this mission.