Building Classes


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

I am not getting Course Completion message , its got stuck seems any advise ?

Replace this line with your code. 


this exercise lets you pass?(as your code is correct)

go to main page of course and check if you completed every exercise of each section and if each section is completed or not (100%).


do you get an error when you try to run the code? Your code is fine, try refreshing page/different browser


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.