#NEWLINE# def maxi( seq ) : #NEWLINE# #INDENT# cmax = seq [ 0 ] #NEWLINE# ci = 0 #NEWLINE# for ( i , val ) in enumerate ( seq ) : #NEWLINE# #INDENT# if ( val > cmax ) : #NEWLINE# #INDENT# cmax = val #NEWLINE# ci = i #NEWLINE# #UNINDENT# #UNINDENT# return ( cmax , ci )