Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Lightbulb Intro solution in Clear category for Lightbulb Intro by anasstka
from datetime import datetime
from typing import List
def sum_light(els: List[datetime]) -> int:
return sum((els[i + 1] - els[i]).total_seconds() for i in range(0, len(els), 2))
Feb. 11, 2021
Comments: