#------------------------------------------------------------------------------ # Point1.py #------------------------------------------------------------------------------ class Point: """ Point class encapsulates two numbers (xcoord, ycoord). """ def __init__(self): """ Create a new point at the origin. """ self.xcoord = 0 # xcoord is an attribute of Point self.ycoord = 0 # ycoord is an attribute of Point # end __init__() # end class Point