Generate a Python program to remove all the elements equal to the given target from an array.
[2, 3, 4, 3, 5, 3], target: 3
def remove_target(arr, target): 
    result = [] 
    for num in arr: 
        if num != target: 
            result.append(num) 
    return result