Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- # coding: utf-8
- from datetime import date, timedelta
- page = 120
- by_day = 30
- part = page // by_day + (0 if page % by_day == 0 else 1)
- review = [1, 7, 14, 30]
- for a, b in enumerate([date.today() + timedelta(days=x+y) for x in range(part) for y in review]):
- print('{0} 回目: {1}'.format(a % len(review) + 1, b))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement