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