Created
December 30, 2014 02:17
-
-
Save slackorama/4ec5adc641672a501e91 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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