-
-
Save parzibyte/2c8d09908d5669549ec7fa3f73db728c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def es_bisiesto(anio: int) -> bool: | |
return anio % 4 == 0 and (anio % 100 != 0 or anio % 400 == 0) | |
print(es_bisiesto(2000)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment