Python Create Function Inside Function Python Example