No older revisions available
No older revisions available
~cpp def xorTriangle(current, lineNum, list): newList = [] for i in range(0, current) : if i==0 or i==current-1 : newList.append(1) else : newList.append( list[i-1]^list[i] ) print newList if current<lineNum: xorTriangle(current+1, lineNum, newList) else : return xorTriangle(1, 8, list)