Function Create In Python An Array