Solución
solution.tsTypeScript
def is_leap_year(year: int) -> bool:
if year % 400 == 0 or year % 4 == 0 and not year % 100 == 0:
return True
else:
return False
# Escribe tu solución aquí0respuestas
def is_leap_year(year: int) -> bool:
if year % 400 == 0 or year % 4 == 0 and not year % 100 == 0:
return True
else:
return False
# Escribe tu solución aquíAún no hay respuestas
¡Sé el primero en responder!
Recuerda ser amable. Estás comentando la solución de otra persona. Comparte tu perspectiva de forma constructiva y respetuosa.