I think my soultion is correct bu the test case fails for the following
Please let me know the mistake in my code
def T_rotation_and_stretch(theta, a, v):
"""
Performs a combined 2D rotation and stretching transformation on an array v using a rotation angle theta and a stretching factor a.
Args:
theta (float): The rotation angle in radians.
a (float): The stretching factor.
v (np.array): The array to be transformed.
Returns:
np.array: The transformed array.
"""
### START CODE HERE ###
# mentor edit: code removed
### END CODE HERE ###
return w