Building useful classes


#1



https://www.codecademy.com/courses/python-intermediate-en-egNXj/1/5?curriculum_id=4f89dab3d788890003000096#


it shows:
Oops, try again. It looks like you didn't print "(1, 2, 3)".


my program returns (1,2,3)
and i cant figure out whats wrong!please help

class Point3D(object):
    def __init__(self,x,y,z):
        self.x=x
        self.y=y
        self.z=z
    def __repr__(self):
        return "(%d,%d,%d)"%(self.x,self.y,self.z)
my_point=Point3D(1,2,3)
print (my_point)


#2

the output needs to be an exact match, the string you return is missing a few spaces


#3

will you please elaborate??


#4

i got it thanks
thanks bruh


#6