Skip to content

Instantly share code, notes, and snippets.

@yerassylad
Created November 7, 2018 15:59
Show Gist options
  • Save yerassylad/cd1aafc70e7095fa84f3c5696b7a6e97 to your computer and use it in GitHub Desktop.
Save yerassylad/cd1aafc70e7095fa84f3c5696b7a6e97 to your computer and use it in GitHub Desktop.
amount_of_days += 1 if year % 4 == 0 && (year % 100 != 0 || year % 400 == 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment