Extend Program In Python Example