Learn Special Methods by Building a Vector Space - Step 6

Tell us what’s happening:

I cannot pass Step 6 and don’t understand why. The assignment says: Compute the vector norm and return the result from your norm method.
This is the code:
def norm(self):
norm = (self.x2 + self.y2)**0.5

Your code so far


# User Editable Region

class Vector:
    def __init__(self, x, y):
        self.x = x
        self.y = y
        
    def norm(self):
        norm = (self.x**2 + self.y**2)**0.5

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0

Challenge Information:

Learn Special Methods by Building a Vector Space - Step 6

Hello,
your norm function should return the result, this requires the usage of the return keyword in your function but your are assigning the result to a variable called norm, just remove the norm = and replace it with return