def getIntermediateLocation(alongWay, begin, end):
 return ((begin * (1.0 - alongWay)) + (end * alongWay))

def getIntermediateLocation ( alongWay , begin , end ) : return ( ( begin * ( 1.0 - alongWay ) ) + ( end * alongWay ) )
get the intermediate location between begin and end .