Created
November 26, 2013 22:50
-
-
Save hoosteeno/7667751 to your computer and use it in GitHub Desktop.
Output some version numbers using a schema that might fit web products
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
year = '2014' | |
for month in range(1, 13): | |
month = '%02d' % month | |
for rel in range(1, 7): | |
print '%s-%s.%s' % (year, str(month), str(rel)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment