End Code Function Python Example Testamentary