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
/siteroot/ | |
runserver.py | |
site.wsgi | |
/templates/ (for root/global templates) | |
layout.html | |
/static/ | |
/css/ | |
/js/ | |
/section1/ | |
__init__.py |
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
#!/usr/bin/env python | |
import timeit | |
from random import choice | |
def getTriplets(top=1000): | |
triplets = [] | |
for c in xrange(top,3,-1): | |
maxb = top-c - 1 | |
for b in xrange(maxb,0,-1): |
NewerOlder