#NEWLINE# def interval_vector( notes ) : #NEWLINE# #INDENT# vector = [ 0 , 0 , 0 , 0 , 0 , 0 ] #NEWLINE# for i in all_intervals ( vector ) : #NEWLINE# #INDENT# vector [ ( i - 1 ) ] += 1 #NEWLINE# #UNINDENT# return vector