<s> def linear_interpolation ( first , last , steps ) : <EOL> """<STR_LIT>""" <EOL> result = [ ] <EOL> for step in xrange ( <NUM_LIT:0> , steps ) : <EOL> fpart = ( steps - step ) * first <EOL> lpart = ( step + <NUM_LIT:1> ) * last <EOL> value = ( fpart + lpart ) / float ( steps + <NUM_LIT:1> ) <EOL> result . append ( value ) <EOL> return result </s>
