<s> from __future__ import division <EOL> def distribute_lucas ( min_val , max_val , n ) : <EOL> q = max_val / min_val <EOL> return [ min_val * q ** ( i / ( n - <NUM_LIT:1> ) ) for i in range ( n ) ] <EOL> def distribute_equal ( min_val , max_val , n ) : <EOL> d = ( max_val - min_val ) / ( n - <NUM_LIT:1> ) <EOL> return [ min_val + i * d for i in range ( n ) ] <EOL> def distribute_pablo ( min_val , max_val , n ) : <EOL> es = distribute_equal ( min_val , max_val , n ) <EOL> ls = distribute_lucas ( min_val , max_val , n ) <EOL> return [ l * ( <NUM_LIT:1> - i / ( n - <NUM_LIT:1> ) ) + e * ( i / ( n - <NUM_LIT:1> ) ) for ( i , e , l ) in zip ( range ( n ) , es , ls ) ] </s>
