def combine_images(im1, im2, alpha):
 return (((1 - alpha) * im1) + (alpha * im2))

def combine_images ( im1 , im2 , alpha ) : return ( ( ( 1 - alpha ) * im1 ) + ( alpha * im2 ) )
blend two images with weights as in alpha .