not able to print the list, please rectify errors? :    #This program is to find the normalization of a vector 
#Def function
def _unit_vector_sample_(vector):
        # calculate the magnitude
        x = vector[0]
        y = vector[1]
        z = vector[2]
        mag = ((x**2) + (y**2) + (z**2))**(1/2)
        # normalize the vector by dividing each component with the magnitude
        new_x = x/mag
        new_y = y/mag
        new_z = z/mag
        unit_vector = [new_x, new_y, new_z]
        #return unit_vector

 #Main program
   
    vector=[2,3,-4]
    
    def _unit_vector_sample_(vector):
    
        print(unit_vector)