Tell us what’s happening:
Can seem to solve this problem.
Your code so far
v1 = Vector(2, 3), Vector.norm(v1)
print (v1)
# 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/131.0.0.0 Safari/537.36
Challenge Information:
Learn Special Methods by Building a Vector Space - Step 8
Here you have already instantiated an object using the vector class.
norm
is a method of the v1
object.
You can’t have a space between print
and the brackets, nor between any function (or method) and it’s brackets
Actually, the space here doesn’t matter. It’s valid code, although I wouldn’t encourage anyone to add a space there.
But you cannot have this. As said, you should call norm
on v1
instead of Vector
, without passing any arguments to it.