Python All Function With Array As Parameters