#NEWLINE# def py_euler( ) : #NEWLINE# #INDENT# triangle = 1 #NEWLINE# index = 1 #NEWLINE# while ( py_factorCount ( triangle ) < 1001 ) : #NEWLINE# #INDENT# index += 1 #NEWLINE# triangle += index #NEWLINE# #UNINDENT# return triangle