Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 20, 2020 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/2c8d09908d5669549ec7fa3f73db728c to your computer and use it in GitHub Desktop.
Save parzibyte/2c8d09908d5669549ec7fa3f73db728c to your computer and use it in GitHub Desktop.
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