Help for this page

Select Code to Download


  1. or download this
    class Point:
        def __init__(self, x, y):
    ...
    
        def inverted(self):
            return Point(self.y,self.x)
    
  2. or download this
    class Point;
    
    ...
        # or Point($self->{y},$self->{x})
        # ... TIMTOWTDI
    }