Skip to content

Instantly share code, notes, and snippets.

@fatosmorina
Created March 14, 2021 15:53
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 fatosmorina/fd73b7a4f6f5fec3dfd99fedbc10d7cb to your computer and use it in GitHub Desktop.
Save fatosmorina/fd73b7a4f6f5fec3dfd99fedbc10d7cb to your computer and use it in GitHub Desktop.
difference = second_date - first_date
print(f'Number of days between {second_date} and {first_date}: {difference.days}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment