Python Create Function With Return Value