class Coordinate (object): def __init__ (self, x, y): self.x = x self.y = y c = Coordinate (3,4) print (c.x)
in this code, is c