Last active
October 6, 2015 02:58
Revisions
-
fletom renamed this gist
May 22, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Fletcher Tomalty created this gist
Jun 13, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ def pascals_triangle(): row = [1] while True: yield row row = map(sum, zip([0] + row, row + [0]))