class Point: x = 2 y = 4 def printVals(): print self.x print self.y a = Point() a.printVals()