Created
July 27, 2020 05:33
-
-
Save hdnl/02a6838abb64be2b29022a2baeb9e79a to your computer and use it in GitHub Desktop.
This file contains 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
years = list(map(str, range(2010, 2019))) # years = ['2010' ... '2019'] | |
months = list(map(str, range(1, 13))) # months = ['1' ... '12'] | |
months = [month.rjust(2, '0') for month in months] # months = ['01' ... '12'] (adds padding) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment