Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
计算纪念日
import datetime
first_day = datetime.date(2018, 2, 28)
love_day = datetime.date(2018, 3, 19)
day100 = datetime.timedelta(days=100)
print('相识100天: %s' % (first_day + day100))
print('相爱100天: %s' % (love_day + day100))
@YoungForest

This comment has been minimized.

Copy link
Owner Author

commented Aug 2, 2018

现在用一个叫倒数日的APP替代了,功能更多一点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.