Python Function With Multiple Outputs