Python Function With Array Parameters