Programming assignment C1_W2 error fix

I was going through the assignment and got a syntax error. I am unable to identify the problem. Can anyone help please? The code part was this:

def augmented_to_ref(A, b):    
    ### START CODE HERE ###
    # stack horizontally matrix A and vector b, which needs to be reshaped as a vector (4, 1)
    A_system = np.hstack((A,b.reshape((4,1)))
    
    # swap row 0 and row 1 of matrix A_system (remember that indexing in NumPy array starts from 0)
    A_ref = SwapRows(A_system,0,1)

I am getting error in the last line of above code, syntax error pointing to A_ref.

A_ref = SwapRows(A_system,0,1)
^
SyntaxError: invalid syntax

How do I fix this?

here’s the full block, if it’s relevant for the fix. I’m relatively new.

def augmented_to_ref(A, b):    
    ### START CODE HERE ###
   # moderator edit: code removed
    ### END CODE HERE ###
    
    return A_ref

A_ref = augmented_to_ref(A, b)

print(A_ref)

Hi @Pulkit_Thukral

A closing round bracket is missing from the line before A_ref.

that worked. Thanks!!