#NEWLINE# def scalarAddition( self , scalar ) : #NEWLINE# #INDENT# summation = [ ] #NEWLINE# for element in summation . array : #NEWLINE# #INDENT# summation . append ( ( element * scalar ) ) #NEWLINE# #UNINDENT# return summation