Skip to content

Instantly share code, notes, and snippets.

@slackorama
Created December 30, 2014 02:17
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 slackorama/4ec5adc641672a501e91 to your computer and use it in GitHub Desktop.
Save slackorama/4ec5adc641672a501e91 to your computer and use it in GitHub Desktop.
import datetime
"""
Generate a list of tasks to import into RTM that map out the tiered
contribution of money each week. At the end of the year, you should have
$2756.
After you run this, copy the output and send it to your RTM import email
address with the subject "Daily"
"""
due_date = datetime.datetime(2015, 1, 1)
for i in range(1, 53):
amount = i * 2
print('Contribute ${0} to simple account. ^{1}'.format(
amount,
due_date.strftime('%m/%d/%Y')))
due_date = due_date + datetime.timedelta(days=7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment