Snippets
Created by
Alexander Hanel
def format_vect(size,value):
return [value for x in range(0,size)]
def add_vectors(one, two):
return map(sum, zip(one,two))
def mult_vectors(one, two):
return [aa * bb for aa, bb in zip(one, two)]
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.