Skip to content

Instantly share code, notes, and snippets.

@beltiras
Created July 19, 2017 12:41
Show Gist options
  • Save beltiras/4af7ba71dfd9300e5ccdcad9694df03e to your computer and use it in GitHub Desktop.
Save beltiras/4af7ba71dfd9300e5ccdcad9694df03e to your computer and use it in GitHub Desktop.
import datetime
def percentage_of_first_trump_term_remaining():
return (datetime.datetime.now() - datetime.datetime(year=2017, month=1, day=20))/(datetime.datetime(year=2021, month=1, day=20) - datetime.datetime(year=2017, month=1, day=20))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment